2024-11-20 16:53:12 +00:00
|
|
|
<script lang="ts">
|
2025-05-20 16:35:33 +00:00
|
|
|
import type {Snippet} from 'svelte'
|
2024-11-20 16:53:12 +00:00
|
|
|
import {page} from "$app/stores"
|
2025-05-20 16:35:33 +00:00
|
|
|
|
|
|
|
|
type Props = {
|
|
|
|
|
children?: Snippet
|
2025-02-04 00:37:14 +00:00
|
|
|
}
|
|
|
|
|
|
2025-02-04 01:21:46 +00:00
|
|
|
const {children}: Props = $props()
|
2024-11-20 16:53:12 +00:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
{#key $page.params.relay}
|
2025-02-04 00:37:14 +00:00
|
|
|
{@render children?.()}
|
2024-11-20 16:53:12 +00:00
|
|
|
{/key}
|