mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
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: () => {
|
||||
dispatch(actions.hideModal())
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -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'),
|
||||
|
||||
]),
|
||||
|
Loading…
Reference in New Issue
Block a user