Add setContext import to +layout.svelte

This commit is contained in:
Danny Liu 2024-03-16 23:59:09 -07:00
parent f25a967a0b
commit 549408d808

View file

@ -1,5 +1,5 @@
<script> <script>
import { onMount, tick } from 'svelte'; import { onMount, tick, setContext } from 'svelte';
import { config, user, setTheme, WEBUI_NAME } from '$lib/stores'; import { config, user, setTheme, WEBUI_NAME } from '$lib/stores';
import { goto } from '$app/navigation'; import { goto } from '$app/navigation';
import { Toaster, toast } from 'svelte-sonner'; import { Toaster, toast } from 'svelte-sonner';