diff options
author | kumavis <kumavis@users.noreply.github.com> | 2019-03-29 10:10:05 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-29 10:10:05 +0800 |
commit | b004b182bfafc317412d8dff1a43020db8dac3fe (patch) | |
tree | 26dc3e6dddd5a01052935e3f6cc66ed269adc565 | |
parent | 0ae68d1a612ec3999ded2ba6887c0f3b73ef27cd (diff) | |
download | tangerine-wallet-browser-b004b182bfafc317412d8dff1a43020db8dac3fe.tar tangerine-wallet-browser-b004b182bfafc317412d8dff1a43020db8dac3fe.tar.gz tangerine-wallet-browser-b004b182bfafc317412d8dff1a43020db8dac3fe.tar.bz2 tangerine-wallet-browser-b004b182bfafc317412d8dff1a43020db8dac3fe.tar.lz tangerine-wallet-browser-b004b182bfafc317412d8dff1a43020db8dac3fe.tar.xz tangerine-wallet-browser-b004b182bfafc317412d8dff1a43020db8dac3fe.tar.zst tangerine-wallet-browser-b004b182bfafc317412d8dff1a43020db8dac3fe.zip |
depoit-ether-modal - make buyEth args more explicit
-rw-r--r-- | ui/app/components/modals/deposit-ether-modal.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/modals/deposit-ether-modal.js b/ui/app/components/modals/deposit-ether-modal.js index 3f74dc065..a64b3282e 100644 --- a/ui/app/components/modals/deposit-ether-modal.js +++ b/ui/app/components/modals/deposit-ether-modal.js @@ -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()) |