Simplify dropdown & convert to Functional Component

This commit is contained in:
Trevor Buckner committed 2023-07-07 20:38:56 -04:00
1 parent 0d44e1778f
commit 48474c6f7b
3 files changed
+44 -64

No files matched your search

@@ -121,6 +121,7 @@ const RecentItems = createClass({
removeItem : function(url, evt){
evt.preventDefault();
evt.stopPropagation();
let edited = JSON.parse(localStorage.getItem(EDIT_KEY) || '[]');
let viewed = JSON.parse(localStorage.getItem(VIEW_KEY) || '[]');