diff options
| author | Fuwn <[email protected]> | 2024-10-09 00:41:20 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-10-09 00:41:43 -0700 |
| commit | 998b63a35256ac985a5a2714dd1ca451af4dfd8a (patch) | |
| tree | 50796121a9d5ab0330fdc5d7e098bda2860d9726 /src/stores/anime.ts | |
| parent | feat(graphql): add badgeCount field (diff) | |
| download | due.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.tar.xz due.moe-998b63a35256ac985a5a2714dd1ca451af4dfd8a.zip | |
chore(prettier): use spaces instead of tabs
Diffstat (limited to 'src/stores/anime.ts')
| -rw-r--r-- | src/stores/anime.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/anime.ts b/src/stores/anime.ts index 5e4cd251..f9b649a0 100644 --- a/src/stores/anime.ts +++ b/src/stores/anime.ts @@ -4,7 +4,7 @@ import { writable } from 'svelte/store'; const anime = writable<string>(browser ? localStorage.getItem('anime') ?? '' : ''); anime.subscribe((value) => { - if (browser) localStorage.setItem('anime', value); + if (browser) localStorage.setItem('anime', value); }); export default anime; |