chore:some cleaning up

This commit is contained in:
2025-09-29 17:14:26 +02:00
parent 204a443847
commit 0b44f10459
13 changed files with 35 additions and 77 deletions

View File

@@ -2,11 +2,11 @@
import '../app.css';
import favicon from '$lib/assets/favicon.svg';
import { Header } from '$lib';
import { page } from '$app/stores';
import { page } from '$app/state';
let { children, data } = $props();
let isLoginRoute = $derived($page.url.pathname.startsWith('/login'));
let isLoginRoute = $derived(page.url.pathname.startsWith('/login'));
let showHeader = $derived(!isLoginRoute && data?.user);
</script>