1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Fix clickable area on logout

This commit is contained in:
Chi Kei Chan 2017-10-24 00:16:19 -07:00
parent 4401800a42
commit 3891cf1af6

View File

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