From 799536c35f2caac68eac7973703a15b2f6b57d28 Mon Sep 17 00:00:00 2001 From: Mark Stacey Date: Fri, 5 Jun 2020 16:01:06 -0300 Subject: [PATCH] Fix 'Remove account' in Account Options menu (#8748) The 'Remove account' button in the Account Options menu was broken. Clicking it would crash the UI. It now correctly opens the 'Remove Account' modal. --- ui/app/components/app/menu-bar/account-options-menu.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/app/components/app/menu-bar/account-options-menu.js b/ui/app/components/app/menu-bar/account-options-menu.js index 9c7162cda..6158c51a8 100644 --- a/ui/app/components/app/menu-bar/account-options-menu.js +++ b/ui/app/components/app/menu-bar/account-options-menu.js @@ -118,7 +118,7 @@ export default function AccountOptionsMenu ({ anchorElement, onClose }) { ? ( { - dispatch(showModal({ name: 'CONFIRM_REMOVE_ACCOUNT', selectedIdentity })) + dispatch(showModal({ name: 'CONFIRM_REMOVE_ACCOUNT', identity: selectedIdentity })) onClose() }} iconClassName="fas fa-trash-alt"