aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/tx-view.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/app/components/tx-view.js')
-rw-r--r--ui/app/components/tx-view.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js
index 0d1f3fc31..265893104 100644
--- a/ui/app/components/tx-view.js
+++ b/ui/app/components/tx-view.js
@@ -35,7 +35,7 @@ function mapDispatchToProps (dispatch) {
return {
showSidebar: () => { dispatch(actions.showSidebar()) },
hideSidebar: () => { dispatch(actions.hideSidebar()) },
- showModal: () => { dispatch(actions.showModal()) },
+ showModal: (payload) => { dispatch(actions.showModal(payload)) },
}
}
@@ -104,7 +104,9 @@ TxView.prototype.render = function () {
textAlign: 'center',
},
onClick: () => {
- this.props.showModal()
+ this.props.showModal({
+ name: 'BUY',
+ })
},
}, 'BUY'),