diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2017-03-15 08:06:16 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2017-03-15 08:06:16 +0800 |
commit | 37ffcfcf0e518ed8843022cd079ce09d0b2239ff (patch) | |
tree | c7cedcd1201adf87b6afffb6142f2f12b0a8324a /ui/app/components/fiat-value.js | |
parent | 177f2dc948f794f6796d74e3ef2a581048625bb1 (diff) | |
download | tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.gz tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.bz2 tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.lz tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.xz tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.tar.zst tangerine-wallet-browser-37ffcfcf0e518ed8843022cd079ce09d0b2239ff.zip |
Rename variables to proper currency state variables.
Diffstat (limited to 'ui/app/components/fiat-value.js')
-rw-r--r-- | ui/app/components/fiat-value.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/fiat-value.js b/ui/app/components/fiat-value.js index 13ee48245..298809b30 100644 --- a/ui/app/components/fiat-value.js +++ b/ui/app/components/fiat-value.js @@ -9,7 +9,7 @@ module.exports = connect(mapStateToProps)(FiatValue) function mapStateToProps (state) { return { conversionRate: state.metamask.conversionRate, - currentFiat: state.metamask.currentFiat, + currentCurrency: state.metamask.currentCurrency, } } @@ -34,7 +34,7 @@ FiatValue.prototype.render = function () { fiatTooltipNumber = 'Unknown' } - var fiatSuffix = props.currentFiat + var fiatSuffix = props.currentCurrency return fiatDisplay(fiatDisplayNumber, fiatSuffix) } |