aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/usd-fee-display.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-09-14 01:57:15 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-09-14 05:25:20 +0800
commitca46bd200b24456d692cf1ede47506be5fdcc76d (patch)
treed3e24c1d9641c825e3e60960ccfa4c36afade44f /ui/app/components/send/usd-fee-display.js
parenta5ab91e572eec05450a760d4a65e3a28df67c0d1 (diff)
downloadtangerine-wallet-browser-ca46bd200b24456d692cf1ede47506be5fdcc76d.tar.gz
tangerine-wallet-browser-ca46bd200b24456d692cf1ede47506be5fdcc76d.tar.zst
tangerine-wallet-browser-ca46bd200b24456d692cf1ede47506be5fdcc76d.zip
Stop setting 'currentCurrency' and use local state for active currency in send.js
Diffstat (limited to 'ui/app/components/send/usd-fee-display.js')
-rw-r--r--ui/app/components/send/usd-fee-display.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/send/usd-fee-display.js b/ui/app/components/send/usd-fee-display.js
index 012bda550..6ee38f1b5 100644
--- a/ui/app/components/send/usd-fee-display.js
+++ b/ui/app/components/send/usd-fee-display.js
@@ -13,7 +13,7 @@ function USDFeeDisplay () {
USDFeeDisplay.prototype.render = function () {
const {
- currentCurrency,
+ activeCurrency,
conversionRate,
gas,
gasPrice,
@@ -23,7 +23,7 @@ USDFeeDisplay.prototype.render = function () {
return h(FiatValue, {
value: getTxFeeBn(gas, gasPrice, blockGasLimit),
conversionRate,
- currentCurrency,
+ currentCurrency: activeCurrency,
style: {
color: '#5d5d5d',
fontSize: '16px',