aboutsummaryrefslogtreecommitdiff
path: root/src/stores/settings.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-11 23:52:43 -0700
committerFuwn <[email protected]>2025-06-11 23:52:43 -0700
commit1bc4488a06db88597327ecc855c5b70a7ddc55ce (patch)
treeded544d953d4b62fc4365c2758d75f02efe7d625 /src/stores/settings.ts
parentfix: Migrate localStorage.removeItem to localforage for anime and manga stores (diff)
downloaddue.moe-1bc4488a06db88597327ecc855c5b70a7ddc55ce.tar.xz
due.moe-1bc4488a06db88597327ecc855c5b70a7ddc55ce.zip
style: Reformat using latest formatting
Diffstat (limited to 'src/stores/settings.ts')
-rw-r--r--src/stores/settings.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/settings.ts b/src/stores/settings.ts
index d250e1c1..fef0debf 100644
--- a/src/stores/settings.ts
+++ b/src/stores/settings.ts
@@ -138,7 +138,7 @@ const createStore = () => {
const { subscribe, set, update } = writable<Settings>(
JSON.parse(
browser
- ? localStorage.getItem('settings') ?? JSON.stringify(defaultSettings)
+ ? (localStorage.getItem('settings') ?? JSON.stringify(defaultSettings))
: JSON.stringify(defaultSettings)
)
);