Fix clickable area on logout

feature/default_network_editable
Chi Kei Chan 7 years ago
parent 4401800a42
commit 3891cf1af6
  1. 5
      ui/app/components/account-menu/index.js

@ -63,10 +63,11 @@ AccountMenu.prototype.render = function () {
h(CloseArea, { onClick: toggleAccountMenu }), h(CloseArea, { onClick: toggleAccountMenu }),
h(Item, { h(Item, {
className: 'account-menu__header', className: 'account-menu__header',
onClick: lockMetamask,
}, [ }, [
'My Accounts', 'My Accounts',
h('button.account-menu__logout-button', 'Log out'), h('button.account-menu__logout-button', {
onClick: lockMetamask,
}, 'Log out'),
]), ]),
h(Divider), h(Divider),
h('div.account-menu__accounts', this.renderAccounts()), h('div.account-menu__accounts', this.renderAccounts()),

Loading…
Cancel
Save