<script lang="ts">
	import favicon from '$lib/assets/favicon.svg';
	import '../app.css';
	import { initAuth } from '$lib/auth';
	import { onMount } from 'svelte';

	let { children } = $props();

	onMount(() => {
		initAuth();
	});
</script>

<svelte:head>
	<link rel="icon" href={favicon} />
</svelte:head>

{@render children()}
