This commit is contained in:
Jan Prochazka
2020-12-26 16:07:23 +01:00
parent e8ffaaab6f
commit 96a52750e2
2 changed files with 16 additions and 10 deletions

View File

@@ -11,6 +11,8 @@ function getParsedLocalStorage(key) {
const res = JSON.parse(value);
return res;
} catch (e) {
// console.log('FAILED LOAD FROM STORAGE', e);
// console.log('VALUE', value);
localStorage.removeItem(key);
}
}