diff --git a/src/lib/components/sidebar/Settings.svelte b/src/lib/components/sidebar/Settings.svelte index 33bf3a5..d1e5236 100644 --- a/src/lib/components/sidebar/Settings.svelte +++ b/src/lib/components/sidebar/Settings.svelte @@ -8,12 +8,12 @@ $: isDark = JSON.parse(localStorage.getItem("isDark") || "false") $: isSettingsShow = ($stateStore.showSettings) - function applyDark() { + const applyDark = () => { DarkMode(isDark) localStorage.setItem("isDark", String(isDark)) } - function hideSettings() { + const hideSettings = () => { $stateStore.showSettings = false } @@ -36,8 +36,9 @@
  • Model API

    -