mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
Hook up global modal to Tx view, Buy button
This commit is contained in:
parent
f72f57dc6c
commit
29c8f448ca
@ -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', {
|
||||
|
Loading…
Reference in New Issue
Block a user