Remove insane actions hash

feature/default_network_editable
Dan Finlay 8 years ago
parent abebe51f69
commit e3fb7fa7bb
  1. 8
      ui/app/accounts/index.js

@ -34,11 +34,7 @@ AccountsScreen.prototype.render = function () {
var state = this.props var state = this.props
var identityList = valuesFor(state.identities) var identityList = valuesFor(state.identities)
var unconfTxList = valuesFor(state.unconfTxs) var unconfTxList = valuesFor(state.unconfTxs)
var actions = {
onSelect: this.onSelect.bind(this),
onShowDetail: this.onShowDetail.bind(this),
goHome: this.goHome.bind(this),
}
return ( return (
h('.accounts-section.flex-grow', [ h('.accounts-section.flex-grow', [
@ -46,7 +42,7 @@ AccountsScreen.prototype.render = function () {
// subtitle and nav // subtitle and nav
h('.section-title.flex-center', [ h('.section-title.flex-center', [
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', { h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
onClick: actions.goHome, onClick: this.goHome.bind(this),
}), }),
h('h2.page-subtitle', 'Select Account'), h('h2.page-subtitle', 'Select Account'),
]), ]),

Loading…
Cancel
Save