diff options
author | Sara Reynolds <sarareynolds@Saras-MacBook-Pro-2.local> | 2018-06-23 06:05:50 +0800 |
---|---|---|
committer | Sara Reynolds <sarareynolds@Saras-MacBook-Pro-2.local> | 2018-06-30 02:54:49 +0800 |
commit | ad6c454fd5d59c7f47edf515f0eb8aec549a8683 (patch) | |
tree | 71d1a0db44eecdc9ae7f401cd2d32e91be220b16 /ui/app/components/send_/send-content/send-amount-row | |
parent | 9f5ee94b6937c741684de5e70ac0f9fea5f50226 (diff) | |
download | tangerine-wallet-browser-ad6c454fd5d59c7f47edf515f0eb8aec549a8683.tar.gz tangerine-wallet-browser-ad6c454fd5d59c7f47edf515f0eb8aec549a8683.tar.zst tangerine-wallet-browser-ad6c454fd5d59c7f47edf515f0eb8aec549a8683.zip |
fixes #4623
Diffstat (limited to 'ui/app/components/send_/send-content/send-amount-row')
-rw-r--r-- | ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js | 4 | ||||
-rw-r--r-- | ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js b/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js index bbbf56971..b816d948f 100644 --- a/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js +++ b/ui/app/components/send_/send-content/send-amount-row/send-amount-row.container.js @@ -2,7 +2,7 @@ import { connect } from 'react-redux' import { getAmountConversionRate, getConversionRate, - getConvertedCurrency, + getCurrentCurrency, getGasTotal, getPrimaryCurrency, getSelectedToken, @@ -31,7 +31,7 @@ function mapStateToProps (state) { amountConversionRate: getAmountConversionRate(state), balance: getSendFromBalance(state), conversionRate: getConversionRate(state), - convertedCurrency: getConvertedCurrency(state), + convertedCurrency: getCurrentCurrency(state), gasTotal: getGasTotal(state), inError: sendAmountIsInError(state), primaryCurrency: getPrimaryCurrency(state), diff --git a/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js b/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js index e4c913c69..94d9918a7 100644 --- a/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js +++ b/ui/app/components/send_/send-content/send-amount-row/tests/send-amount-row-container.test.js @@ -24,7 +24,7 @@ proxyquire('../send-amount-row.container.js', { '../../send.selectors': { getAmountConversionRate: (s) => `mockAmountConversionRate:${s}`, getConversionRate: (s) => `mockConversionRate:${s}`, - getConvertedCurrency: (s) => `mockConvertedCurrency:${s}`, + getCurrentCurrency: (s) => `mockConvertedCurrency:${s}`, getGasTotal: (s) => `mockGasTotal:${s}`, getPrimaryCurrency: (s) => `mockPrimaryCurrency:${s}`, getSelectedToken: (s) => `mockSelectedToken:${s}`, |