mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
depoit-ether-modal - make buyEth args more explicit
This commit is contained in:
parent
0ae68d1a61
commit
b004b182bf
@ -29,10 +29,10 @@ function mapStateToProps (state) {
|
||||
function mapDispatchToProps (dispatch) {
|
||||
return {
|
||||
toCoinbase: (address) => {
|
||||
dispatch(actions.buyEth({ network: '1', address, amount: 0 }))
|
||||
dispatch(actions.buyEth({ service: 'coinbase', address, amount: 0 }))
|
||||
},
|
||||
toCoinSwitch: (address) => {
|
||||
dispatch(actions.buyEth({ service: 'coinswitch', address, amount: 0 }))
|
||||
dispatch(actions.buyEth({ service: 'coinswitch', address }))
|
||||
},
|
||||
hideModal: () => {
|
||||
dispatch(actions.hideModal())
|
||||
|
Loading…
Reference in New Issue
Block a user