<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>
