aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/token-cell.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-11-03 06:20:29 +0800
committerGitHub <noreply@github.com>2017-11-03 06:20:29 +0800
commit9f70762434deb1c973665a76623838289e655f22 (patch)
tree738fccaff1c153c72aea0d0699ddfec0b4c097c7 /ui/app/components/token-cell.js
parentdc0b3255cf908320b5b46f02765ea03b5b4db6b7 (diff)
parentacc973d543ac65f8db980c0007c248c509345411 (diff)
downloadtangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.gz
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.bz2
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.lz
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.xz
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.tar.zst
tangerine-wallet-browser-9f70762434deb1c973665a76623838289e655f22.zip
Merge pull request #2530 from MetaMask/uat
Merge uat into NewUI-flat
Diffstat (limited to 'ui/app/components/token-cell.js')
-rw-r--r--ui/app/components/token-cell.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/ui/app/components/token-cell.js b/ui/app/components/token-cell.js
index f55e23f9e..b40c0ec0d 100644
--- a/ui/app/components/token-cell.js
+++ b/ui/app/components/token-cell.js
@@ -67,11 +67,11 @@ TokenCell.prototype.render = function () {
currentCurrency,
// userAddress,
} = props
-
- const pair = `${symbol.toLowerCase()}_eth`;
- let currentTokenToFiatRate;
- let currentTokenInFiat;
+ const pair = `${symbol.toLowerCase()}_eth`
+
+ let currentTokenToFiatRate
+ let currentTokenInFiat
let formattedFiat = ''
if (tokenExchangeRates[pair]) {
@@ -86,11 +86,11 @@ TokenCell.prototype.render = function () {
numberOfDecimals: 2,
conversionRate: currentTokenToFiatRate,
})
- formattedFiat = `${currentTokenInFiat} ${currentCurrency.toUpperCase()}`;
+ formattedFiat = `${currentTokenInFiat} ${currentCurrency.toUpperCase()}`
}
const showFiat = Boolean(currentTokenInFiat) && currentCurrency.toUpperCase() !== symbol
-
+
return (
h('div.token-list-item', {
className: `token-list-item ${selectedTokenAddress === address ? 'token-list-item--active' : ''}`,