This commit is contained in:
LionTion committed 2026-10-18 20:29:36 +02:00
1 parent 70fb9e4850
commit dbfa9788a7
1 file changed
+5 -1
+5 -1
View File
@@ -15,5 +15,9 @@ export function getBoughtHints(): number[] {
if (hintsList === null) { if (hintsList === null) {
return []; return [];
} }
return JSON.parse(hintsList); try {
return JSON.parse(hintsList);
} catch {
return [];
}
} }