Ka-Note/ka-note/client/src/routes/context/[id]/+page.svelte

11 lines
228 B
Svelte

<script lang="ts">
import { page } from '$app/state';
import ContextPage from '$lib/components/ContextPage.svelte';
const contextId = $derived(page.params.id);
</script>
{#key contextId}
<ContextPage {contextId} />
{/key}