diff --git a/src/lib/components/NotificationManager.svelte b/src/lib/components/NotificationManager.svelte new file mode 100644 index 0000000..a44d77a --- /dev/null +++ b/src/lib/components/NotificationManager.svelte @@ -0,0 +1,150 @@ + diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index fc0a232..12921ba 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -6,6 +6,7 @@ import { Toaster } from '$lib/components/sonner/index.js'; import { Skeleton } from '$lib/components/skeleton'; import LocationManager from '$lib/components/LocationManager.svelte'; + import NotificationManager from '$lib/components/NotificationManager.svelte'; import { onMount } from 'svelte'; import { browser } from '$app/environment'; @@ -42,9 +43,10 @@ - + {#if data?.user && !isLoginRoute} + {/if} {#if showHeader && data.user}