Skip to content

Commit 6b99da6

Browse files
committed
Fix bug no bookmark is displayed on initial time
1 parent 132fa09 commit 6b99da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/repository/Preferences.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default {
1919
const state = {};
2020
keys.forEach(key => {
2121
const jsonValue = localStorage.getItem(key);
22-
if (jsonValue !== undefined) {
22+
if (jsonValue !== null) {
2323
state[key] = JSON.parse(jsonValue);
2424
}
2525
});

0 commit comments

Comments
 (0)