johnandersen777.bsky.social/knotless
git that lives in your Atmosphere account
Forked from chadtmiller.com/knotless
0
0
<script lang="ts">
import { page } from '$app/state';
import { followRepo } from '#lib/live.ts';
let { children } = $props();
/** The repository the page shows: written about, the page asks its answers again. */
const uri = $derived((page.data.repo as { uri?: string } | undefined)?.uri);
$effect(() => (uri ? followRepo(uri) : undefined));
</script>
{@render children()}