From b004b182bfafc317412d8dff1a43020db8dac3fe Mon Sep 17 00:00:00 2001 From: kumavis Date: Fri, 29 Mar 2019 10:10:05 +0800 Subject: [PATCH] depoit-ether-modal - make buyEth args more explicit --- ui/app/components/modals/deposit-ether-modal.js | 4 ++-- 1 file 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())