diff options
| author | Fuwn <[email protected]> | 2023-09-03 17:58:56 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-09-03 17:58:56 -0700 |
| commit | 00a37d80baff59b57fec2bd475ab7de531580199 (patch) | |
| tree | 4c487e8d02859924c1e0abbf45fcf979c0f45489 /src/stores/displayUnresolved.ts | |
| parent | fix(manga): manga collection refresh (diff) | |
| download | due.moe-00a37d80baff59b57fec2bd475ab7de531580199.tar.xz due.moe-00a37d80baff59b57fec2bd475ab7de531580199.zip | |
feat(stores): settings store for all settings
Diffstat (limited to 'src/stores/displayUnresolved.ts')
| -rw-r--r-- | src/stores/displayUnresolved.ts | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/stores/displayUnresolved.ts b/src/stores/displayUnresolved.ts deleted file mode 100644 index 9b67925f..00000000 --- a/src/stores/displayUnresolved.ts +++ /dev/null @@ -1,14 +0,0 @@ -import { browser } from '$app/environment'; -import { writable } from 'svelte/store'; - -const displayUnresolved = writable<string>( - browser ? localStorage.getItem('displayUnresolved') ?? 'false' : 'false' -); - -displayUnresolved.subscribe((value) => { - if (browser) { - localStorage.setItem('displayUnresolved', value); - } -}); - -export default displayUnresolved; |