Hook up send screen action to Send Button in TxView
This commit is contained in:
parent
27b75b67b4
commit
b0759ddc18
|
@ -18,7 +18,7 @@ function mapDispatchToProps (dispatch) {
|
||||||
},
|
},
|
||||||
hideModal: () => {
|
hideModal: () => {
|
||||||
dispatch(actions.hideModal())
|
dispatch(actions.hideModal())
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -36,6 +36,7 @@ function mapDispatchToProps (dispatch) {
|
||||||
showSidebar: () => { dispatch(actions.showSidebar()) },
|
showSidebar: () => { dispatch(actions.showSidebar()) },
|
||||||
hideSidebar: () => { dispatch(actions.hideSidebar()) },
|
hideSidebar: () => { dispatch(actions.hideSidebar()) },
|
||||||
showModal: (payload) => { dispatch(actions.showModal(payload)) },
|
showModal: (payload) => { dispatch(actions.showModal(payload)) },
|
||||||
|
showSendPage: () => { dispatch(actions.showSendPage()) },
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -115,6 +116,9 @@ TxView.prototype.render = function () {
|
||||||
textAlign: 'center',
|
textAlign: 'center',
|
||||||
marginLeft: '1.4em',
|
marginLeft: '1.4em',
|
||||||
},
|
},
|
||||||
|
onClick: () => {
|
||||||
|
this.props.showSendPage()
|
||||||
|
},
|
||||||
}, 'SEND'),
|
}, 'SEND'),
|
||||||
|
|
||||||
]),
|
]),
|
||||||
|
|
Loading…
Reference in New Issue