aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkumavis <kumavis@users.noreply.github.com>2019-04-04 10:16:26 +0800
committerGitHub <noreply@github.com>2019-04-04 10:16:26 +0800
commitcf4eac3f2c693269e8a5025d4f5f2240d7be13e7 (patch)
treebb32f9a14325556418757b153e61ae17774aedec
parentfee0da1ca353096ea66adca65ddb9913b9bcea06 (diff)
parent6a80ff27189bdbf312b0c96970bca4760cc4c729 (diff)
downloadtangerine-wallet-browser-cf4eac3f2c693269e8a5025d4f5f2240d7be13e7.tar
tangerine-wallet-browser-cf4eac3f2c693269e8a5025d4f5f2240d7be13e7.tar.gz
tangerine-wallet-browser-cf4eac3f2c693269e8a5025d4f5f2240d7be13e7.tar.bz2
tangerine-wallet-browser-cf4eac3f2c693269e8a5025d4f5f2240d7be13e7.tar.lz
tangerine-wallet-browser-cf4eac3f2c693269e8a5025d4f5f2240d7be13e7.tar.xz
tangerine-wallet-browser-cf4eac3f2c693269e8a5025d4f5f2240d7be13e7.tar.zst
tangerine-wallet-browser-cf4eac3f2c693269e8a5025d4f5f2240d7be13e7.zip
Merge pull request #6397 from MetaMask/wyre-deposit-modal
Change coinbase to wyre
-rw-r--r--ui/app/components/app/modals/deposit-ether-modal.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/app/modals/deposit-ether-modal.js b/ui/app/components/app/modals/deposit-ether-modal.js
index def88f085..6f622a17c 100644
--- a/ui/app/components/app/modals/deposit-ether-modal.js
+++ b/ui/app/components/app/modals/deposit-ether-modal.js
@@ -28,8 +28,8 @@ function mapStateToProps (state) {
function mapDispatchToProps (dispatch) {
return {
- toCoinbase: (address) => {
- dispatch(actions.buyEth({ service: 'coinbase', address, amount: 0 }))
+ toWyre: (address) => {
+ dispatch(actions.buyEth({ service: 'wyre', address, amount: 0 }))
},
toCoinSwitch: (address) => {
dispatch(actions.buyEth({ service: 'coinswitch', address }))
@@ -130,7 +130,7 @@ DepositEtherModal.prototype.renderRow = function ({
}
DepositEtherModal.prototype.render = function () {
- const { network, toCoinbase, toCoinSwitch, address, toFaucet } = this.props
+ const { network, toWyre, toCoinSwitch, address, toFaucet } = this.props
const { buyingWithShapeshift } = this.state
const isTestNetwork = ['3', '4', '42'].find(n => n === network)
@@ -190,7 +190,7 @@ DepositEtherModal.prototype.render = function () {
title: WYRE_ROW_TITLE,
text: WYRE_ROW_TEXT,
buttonLabel: this.context.t('continueToWyre'),
- onButtonClick: () => toCoinbase(address),
+ onButtonClick: () => toWyre(address),
hide: isTestNetwork || buyingWithShapeshift,
}),