aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/app.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-16 13:28:25 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-18 13:38:00 +0800
commit5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2 (patch)
tree1020f2895a6a8368a2f50597c8bf86512b98a5a9 /ui/app/app.js
parentac43872c1a1468057974648c8ae90bf1edd708d7 (diff)
downloadtangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar
tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.gz
tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.bz2
tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.lz
tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.xz
tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.tar.zst
tangerine-wallet-browser-5ee6e4d3b3d61d804340c22b73a608fb6b44a9b2.zip
wip
Diffstat (limited to 'ui/app/app.js')
-rw-r--r--ui/app/app.js11
1 files changed, 7 insertions, 4 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 08d24d86c..3f27b36c7 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -91,6 +91,7 @@ function mapDispatchToProps (dispatch, ownProps) {
showNetworkDropdown: () => dispatch(actions.showNetworkDropdown()),
hideNetworkDropdown: () => dispatch(actions.hideNetworkDropdown()),
setCurrentCurrencyToUSD: () => dispatch(actions.setCurrentCurrency('usd')),
+ toggleAccountMenu: () => dispatch(actions.toggleAccountMenu()),
}
}
@@ -256,10 +257,12 @@ App.prototype.renderAppBar = function () {
]),
- h(Identicon, {
- address: this.props.selectedAddress,
- diameter: 32,
- }),
+ h('div.account-menu__icon', { onClick: this.props.toggleAccountMenu }, [
+ h(Identicon, {
+ address: this.props.selectedAddress,
+ diameter: 32,
+ }),
+ ]),
]),
]),
]),