From 92c4fa3fdaba8885d3c056125526d3e6868a5f46 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Tue, 21 Jul 2020 23:44:13 -0500 Subject: [PATCH] Fixed issue with removing shortcuts in redux MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Fixed: - issue with removing shortcuts in redux --- app/javascript/gabsocial/actions/shortcuts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/gabsocial/actions/shortcuts.js b/app/javascript/gabsocial/actions/shortcuts.js index 72a82bab..92d53ad2 100644 --- a/app/javascript/gabsocial/actions/shortcuts.js +++ b/app/javascript/gabsocial/actions/shortcuts.js @@ -86,7 +86,7 @@ export function removeShortcut(shortcutObjectId, shortcutType, shortcutId) { let id if (shortcutObjectId) { - shortcutObjectId = id + id = shortcutObjectId } else if (shortcutType && shortcutId) { const shortcuts = getState().getIn(['shortcuts', 'items']) const shortcut = shortcuts.find((s) => {