From dda52424a3e7a69a01bb745033185429c8d11941 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 22 Jan 2026 22:26:53 -0800 Subject: fix(notifications): Replace svelte-notifications with custom store for Svelte 5 --- src/routes/+layout.svelte | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/routes') diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index d9caca74..4c6cf786 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -10,8 +10,7 @@ import '../app.css'; import { readable, type Readable } from 'svelte/store'; import { navigating } from '$app/stores'; - import Notifications from 'svelte-notifications'; - import * as EventNotification from '$lib/Notification/Notification.svelte'; + import NotificationsProvider from '$lib/Notification/NotificationsProvider.svelte'; import Root from '$lib/Home/Root.svelte'; import root from '$lib/Utility/root'; import { addMessages, init, locale as i18nLocale, locales } from 'svelte-i18n'; @@ -254,7 +253,7 @@

- + {#if $userIdentity.id !== -1} @@ -267,7 +266,7 @@ {/if} - + {/if} -- cgit v1.2.3