aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-24 15:16:19 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-24 15:16:19 +0800
commit3891cf1af6130126781b12aaee410c0831fa43e9 (patch)
treec8763a90b33d6fef9421a7a094609511cf9fe3d3 /ui
parent4401800a42eccbd77f11b332e1052431328401bb (diff)
downloadtangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar
tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.gz
tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.bz2
tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.lz
tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.xz
tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.tar.zst
tangerine-wallet-browser-3891cf1af6130126781b12aaee410c0831fa43e9.zip
Fix clickable area on logout
Diffstat (limited to 'ui')
-rw-r--r--ui/app/components/account-menu/index.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/ui/app/components/account-menu/index.js b/ui/app/components/account-menu/index.js
index da2c86233..e0f38ae78 100644
--- a/ui/app/components/account-menu/index.js
+++ b/ui/app/components/account-menu/index.js
@@ -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()),