aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r--ui/app/account-detail.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index cf65cbb7d..0053935f5 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -172,7 +172,7 @@ AccountDetailScreen.prototype.render = function () {
}),
h('button', {
- onClick: this.buyButtonDeligator.bind(this),
+ onClick: () => props.dispatch(actions.buyEthView(selected)),
style: {
marginBottom: '20px',
marginRight: '8px',
@@ -264,6 +264,6 @@ AccountDetailScreen.prototype.buyButtonDeligator = function () {
if (this.props.accountDetail.subview === 'buyForm') {
props.dispatch(actions.backToAccountDetail(props.address))
} else {
- props.dispatch(actions.buyEthSubview())
+ props.dispatch(actions.buyEthView())
}
}