From bc76c2cb58fc3ff972a019a894804c89954c9d58 Mon Sep 17 00:00:00 2001
From: Manoj Vivek
Date: Wed, 24 Jun 2020 08:23:14 +0530
Subject: [PATCH] bug fix
---
desktop-app/app/components/BookmarksBar/index.js | 1 +
desktop-app/app/reducers/bookmarks.js | 1 -
2 files changed, 1 insertion(+), 1 deletion(-)
diff --git a/desktop-app/app/components/BookmarksBar/index.js b/desktop-app/app/components/BookmarksBar/index.js
index 9d5257c0d..0b1215994 100644
--- a/desktop-app/app/components/BookmarksBar/index.js
+++ b/desktop-app/app/components/BookmarksBar/index.js
@@ -60,6 +60,7 @@ function BookmarkItem({bookmark, onClick, onDelete, onEdit}) {
};
const handleDelete = function() {
+ setAnchorEl(null);
onDelete(bookmark);
};
diff --git a/desktop-app/app/reducers/bookmarks.js b/desktop-app/app/reducers/bookmarks.js
index 4200f05bc..2f30b37f6 100644
--- a/desktop-app/app/reducers/bookmarks.js
+++ b/desktop-app/app/reducers/bookmarks.js
@@ -26,7 +26,6 @@ export default function browser(
switch (action.type) {
case TOGGLE_BOOKMARK:
let bookmarks = state.bookmarks;
- console.log('action.title', action.title);
const bookmark = {
title: action.title || getWebsiteName(action.url),
url: action.url,