diff options
author | Dan Finlay <dan@danfinlay.com> | 2016-11-05 01:48:24 +0800 |
---|---|---|
committer | Dan Finlay <dan@danfinlay.com> | 2016-11-05 01:48:24 +0800 |
commit | e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9 (patch) | |
tree | dfc19402da844308fd70005a8dbb9198f38d1ba3 /ui | |
parent | abebe51f69ea3ae02ac8d94f7fe739d754eedf7a (diff) | |
download | tangerine-wallet-browser-e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9.tar tangerine-wallet-browser-e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9.tar.gz tangerine-wallet-browser-e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9.tar.bz2 tangerine-wallet-browser-e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9.tar.lz tangerine-wallet-browser-e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9.tar.xz tangerine-wallet-browser-e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9.tar.zst tangerine-wallet-browser-e3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9.zip |
Remove insane actions hash
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/accounts/index.js | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ui/app/accounts/index.js b/ui/app/accounts/index.js index c742d9fac..2e8321a77 100644 --- a/ui/app/accounts/index.js +++ b/ui/app/accounts/index.js @@ -34,11 +34,7 @@ AccountsScreen.prototype.render = function () { var state = this.props var identityList = valuesFor(state.identities) var unconfTxList = valuesFor(state.unconfTxs) - var actions = { - onSelect: this.onSelect.bind(this), - onShowDetail: this.onShowDetail.bind(this), - goHome: this.goHome.bind(this), - } + return ( h('.accounts-section.flex-grow', [ @@ -46,7 +42,7 @@ AccountsScreen.prototype.render = function () { // subtitle and nav h('.section-title.flex-center', [ h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { - onClick: actions.goHome, + onClick: this.goHome.bind(this), }), h('h2.page-subtitle', 'Select Account'), ]), |