We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 132fa09 commit 6b99da6Copy full SHA for 6b99da6
app/repository/Preferences.jsx
@@ -19,7 +19,7 @@ export default {
19
const state = {};
20
keys.forEach(key => {
21
const jsonValue = localStorage.getItem(key);
22
- if (jsonValue !== undefined) {
+ if (jsonValue !== null) {
23
state[key] = JSON.parse(jsonValue);
24
}
25
});
0 commit comments