diff --git a/ui/app/components/tx-view.js b/ui/app/components/tx-view.js index d0337fcb1..9d7bc9138 100644 --- a/ui/app/components/tx-view.js +++ b/ui/app/components/tx-view.js @@ -31,6 +31,7 @@ function mapDispatchToProps (dispatch) { return { showSidebar: () => { dispatch(actions.showSidebar()) }, hideSidebar: () => { dispatch(actions.hideSidebar()) }, + showModal: () => { dispatch(actions.showModal()) }, } } @@ -119,6 +120,9 @@ TxView.prototype.render = function () { style: { textAlign: 'center', }, + onClick: () => { + this.props.showModal() + }, }, 'BUY'), h('button.btn-clear', {