Files
sgse-app/apps/web/src/routes/+layout.svelte
killer-cf 427c78ec37 refactor: update better-auth configuration and clean up code
- Changed the version of "better-auth" to use a catalog reference in package.json and bun.lock for better dependency management.
- Removed unnecessary comments and cleaned up the code in various files to enhance readability and maintainability.
- Updated the authentication handling in hooks.server.ts to ensure proper token retrieval.
- Simplified the layout and structure of Svelte components for improved clarity and performance.
2025-11-07 11:18:34 -03:00

17 lines
405 B
Svelte

<script lang="ts">
import "../app.css";
import Sidebar from "$lib/components/Sidebar.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>