This commit is contained in:
undefined committed 2024-07-16 13:51:44 +08:00
1 parent 60072e5747
commit 63cf9b609a
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ export const openDB = _open('hydro', 1, {
for (const key of keys) {
if (key.endsWith('#objective')) {
const value = localStorage.getItem(key);
if (value) solutionStore.put({ id: key, value: JSON.parse(value) });
if (value) solutionStore.put({ id: key, value });
localStorage.removeItem(key);
}
if (key.startsWith('scoreboard-star/')) localStorage.removeItem(key);