aboutsummaryrefslogtreecommitdiff
path: root/src/stores/lastPruneTimes.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/stores/lastPruneTimes.ts')
-rw-r--r--src/stores/lastPruneTimes.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/stores/lastPruneTimes.ts b/src/stores/lastPruneTimes.ts
index ef71053b..aa2ab723 100644
--- a/src/stores/lastPruneTimes.ts
+++ b/src/stores/lastPruneTimes.ts
@@ -54,9 +54,7 @@ const createStore = () => {
const lastPruneTimes = createStore();
lastPruneTimes.subscribe((value) => {
- if (browser) {
- localStorage.setItem('lastPruneTimes', JSON.stringify(value));
- }
+ if (browser) localStorage.setItem('lastPruneTimes', JSON.stringify(value));
});
export default lastPruneTimes;