aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/dropdowns
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/dropdowns')
-rw-r--r--ui/app/components/dropdowns/components/account-dropdowns.js5
1 files changed, 1 insertions, 4 deletions
diff --git a/ui/app/components/dropdowns/components/account-dropdowns.js b/ui/app/components/dropdowns/components/account-dropdowns.js
index 48354ff94..bb112dcca 100644
--- a/ui/app/components/dropdowns/components/account-dropdowns.js
+++ b/ui/app/components/dropdowns/components/account-dropdowns.js
@@ -162,11 +162,11 @@ class AccountDropdowns extends Component {
DropdownMenuItem,
{
closeMenu: () => {},
- onClick: () => actions.addNewAccount(),
style: Object.assign(
{},
menuItemStyles,
),
+ onClick: () => actions.showNewAccountModal(),
},
[
h(
@@ -185,9 +185,6 @@ class AccountDropdowns extends Component {
fontSize: '16px',
lineHeight: '23px',
},
- onClick: () => {
- actions.showNewAccountModal()
- },
}, 'Create Account'),
],
),