aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/gas-fee-display-v2.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-20 03:35:49 +0800
committerGitHub <noreply@github.com>2017-10-20 03:35:49 +0800
commitd3f923efefef893db31c18aa4ff4e2488a5b6448 (patch)
tree0e63ad5171608accdd2a0d669687a16cd8c17b95 /ui/app/components/send/gas-fee-display-v2.js
parentc2880c4b8fe56f3b175d75b6ae8a84271dde3e28 (diff)
parentf1c097ab5c833d0e4bab639d65e5641211cb9753 (diff)
downloadtangerine-wallet-browser-d3f923efefef893db31c18aa4ff4e2488a5b6448.tar
tangerine-wallet-browser-d3f923efefef893db31c18aa4ff4e2488a5b6448.tar.gz
tangerine-wallet-browser-d3f923efefef893db31c18aa4ff4e2488a5b6448.tar.bz2
tangerine-wallet-browser-d3f923efefef893db31c18aa4ff4e2488a5b6448.tar.lz
tangerine-wallet-browser-d3f923efefef893db31c18aa4ff4e2488a5b6448.tar.xz
tangerine-wallet-browser-d3f923efefef893db31c18aa4ff4e2488a5b6448.tar.zst
tangerine-wallet-browser-d3f923efefef893db31c18aa4ff4e2488a5b6448.zip
Merge pull request #2399 from danjm/MM-128-get-currentCurrency-from-state
[NewUI] Get currentCurrency from state, allows other fiats
Diffstat (limited to 'ui/app/components/send/gas-fee-display-v2.js')
-rw-r--r--ui/app/components/send/gas-fee-display-v2.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/app/components/send/gas-fee-display-v2.js b/ui/app/components/send/gas-fee-display-v2.js
index 3b39312ec..0e23b63ac 100644
--- a/ui/app/components/send/gas-fee-display-v2.js
+++ b/ui/app/components/send/gas-fee-display-v2.js
@@ -15,6 +15,8 @@ GasFeeDisplay.prototype.render = function () {
conversionRate,
gasTotal,
onClick,
+ primaryCurrency = 'ETH',
+ convertedCurrency,
} = this.props
return h('div.send-v2__gas-fee-display', [
@@ -22,7 +24,7 @@ GasFeeDisplay.prototype.render = function () {
gasTotal
? h(CurrencyDisplay, {
primaryCurrency: 'ETH',
- convertedCurrency: 'USD',
+ convertedCurrency,
value: gasTotal,
conversionRate,
convertedPrefix: '$',