diff options
Diffstat (limited to 'ui/app/app.js')
-rw-r--r-- | ui/app/app.js | 11 |
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, + }), + ]), ]), ]), ]), |