From 7cbcb1eeeaaf9c63c87456b726efef45dbdbdcb9 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 27 Jan 2024 02:10:41 -0800
Subject: feat(layout): reset all but settings on commit

---
 src/routes/+layout.svelte | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'src/routes/+layout.svelte')

diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte
index 0acc3b98..dc7cbd15 100644
--- a/src/routes/+layout.svelte
+++ b/src/routes/+layout.svelte
@@ -55,6 +55,9 @@
 
 			if (localStorage.getItem('commit') !== data.commit) {
 				localStorage.removeItem('identity');
+				localStorage.removeItem('anime');
+				localStorage.removeItem('manga');
+				localStorage.removeItem('lastPruneTimes');
 				localStorage.setItem('commit', data.commit);
 			}
 		}
-- 
cgit v1.2.3

