aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/components')
-rw-r--r--packages/website/ts/components/wallet/wallet.tsx5
1 files changed, 2 insertions, 3 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx
index 2097c0eab..33b8bbffb 100644
--- a/packages/website/ts/components/wallet/wallet.tsx
+++ b/packages/website/ts/components/wallet/wallet.tsx
@@ -526,10 +526,9 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
),
);
const joinedTokenSymbols = _.keys(tokenAddressBySymbol).join(',');
- const quoteCurrency = 'USD';
const queryParams = {
fsyms: joinedTokenSymbols,
- tsyms: quoteCurrency,
+ tsyms: configs.FIAT_QUOTE_CURRENCY_SYMBOL,
};
try {
this._cryptoCompareLastFetchTimestampMs = Date.now();
@@ -542,7 +541,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
_.get(tokenAddressBySymbol, symbol),
);
const result = _.mapValues(priceInfoByAddress, priceInfo => {
- const price = _.get(priceInfo, quoteCurrency);
+ const price = _.get(priceInfo, configs.FIAT_QUOTE_CURRENCY_SYMBOL);
const priceBigNumber = new BigNumber(price);
return priceBigNumber;
});