svchat/src/routes/+layout.svelte

13 lines
331 B
Svelte

<script lang="ts">
import MainLayout from '$lib/components/mainLayout.svelte';
import { ModeWatcher } from 'mode-watcher';
import '../app.css';
import type { LayoutProps } from './$types';
let { data, children }: LayoutProps = $props();
</script>
<ModeWatcher />
<MainLayout {data}>
{@render children()}
</MainLayout>