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:
parent
4401800a42
commit
3891cf1af6
@ -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…
Reference in New Issue
Block a user