18 lines
509 B
Svelte
18 lines
509 B
Svelte
<script lang="ts">
|
|
import "../app.css";
|
|
import Sidebar from "$lib/components/Sidebar.svelte";
|
|
import { PUBLIC_CONVEX_URL } from "$env/static/public";
|
|
import { setupConvex } from "convex-svelte";
|
|
import { createSvelteAuthClient } from "@mmailaender/convex-better-auth-svelte/svelte";
|
|
import { authClient } from "$lib/auth";
|
|
|
|
const { children } = $props();
|
|
createSvelteAuthClient({ authClient });
|
|
</script>
|
|
|
|
<div>
|
|
<div class="flex">
|
|
<Sidebar>{@render children()}</Sidebar>
|
|
</div>
|
|
</div>
|