Skip to content

Commit 992a801

Browse files
committed
updated checkOldBookmarks to remove the old bookmarks
1 parent 1671986 commit 992a801

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/checkOldBookmarks.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ export function checkOldBookmarks() {
1111
updateSettings({ type: "userBookmarks", key: bookmark, oldCheck: true });
1212
});
1313
}
14+
15+
// remove the old bookmarks localStorage as it's no longer needed
16+
localStorage.removeItem("bookmarks");
1417
}

0 commit comments

Comments
 (0)