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) => {