aboutsummaryrefslogtreecommitdiff
path: root/src/stores/lastPruneTimes.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/lastPruneTimes.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/lastPruneTimes.ts')
-rw-r--r--src/stores/lastPruneTimes.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stores/lastPruneTimes.ts b/src/stores/lastPruneTimes.ts
index 802ad86e..9c4afc5b 100644
--- a/src/stores/lastPruneTimes.ts
+++ b/src/stores/lastPruneTimes.ts
@@ -17,7 +17,7 @@ const createStore = () => {
const { subscribe, set, update } = writable<LastPruneTimes>(
JSON.parse(
browser
- ? localStorage.getItem('lastPruneTimes') ?? JSON.stringify(defaultTimes)
+ ? (localStorage.getItem('lastPruneTimes') ?? JSON.stringify(defaultTimes))
: JSON.stringify(defaultTimes)
)
);