svelte-sonner migration

This commit is contained in:
Jannik Streidl
2024-03-01 10:18:07 +01:00
parent 5745b9c5db
commit 705f5aecd7
38 changed files with 51 additions and 73 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
import { onMount, tick } from 'svelte';
import { config, user, theme, WEBUI_NAME } from '$lib/stores';
import { goto } from '$app/navigation';
import toast, { Toaster } from 'svelte-french-toast';
import { Toaster, toast } from 'svelte-sonner';
import { getBackendConfig } from '$lib/apis';
import { getSessionUser } from '$lib/apis/auths';
@@ -68,4 +68,4 @@
<slot />
{/if}
<Toaster />
<Toaster richColors position="top-right" />