aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-11-05 01:48:24 +0800
committerDan Finlay <dan@danfinlay.com>2016-11-05 01:48:24 +0800
commite3fb7fa7bbe28dcdb3202c6b228700d5812fbdf9 (patch)
treedfc19402da844308fd70005a8dbb9198f38d1ba3 /ui
parentabebe51f69ea3ae02ac8d94f7fe739d754eedf7a (diff)
downloadtangerine-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.js8
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'),
]),