Hook up send screen action to Send Button in TxView

This commit is contained in:
sdtsui 2017-08-21 12:53:15 -07:00
parent 27b75b67b4
commit b0759ddc18
2 changed files with 5 additions and 1 deletions

View File

@ -18,7 +18,7 @@ function mapDispatchToProps (dispatch) {
},
hideModal: () => {
dispatch(actions.hideModal())
}
},
}
}

View File

@ -36,6 +36,7 @@ function mapDispatchToProps (dispatch) {
showSidebar: () => { dispatch(actions.showSidebar()) },
hideSidebar: () => { dispatch(actions.hideSidebar()) },
showModal: (payload) => { dispatch(actions.showModal(payload)) },
showSendPage: () => { dispatch(actions.showSendPage()) },
}
}
@ -115,6 +116,9 @@ TxView.prototype.render = function () {
textAlign: 'center',
marginLeft: '1.4em',
},
onClick: () => {
this.props.showSendPage()
},
}, 'SEND'),
]),