aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-04-23 02:20:42 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-04-23 02:20:42 +0800
commit9b535e3cec4073205c1343306829bcdec3168002 (patch)
treec5191fce5b9c35cd97d310016729fd42f6b8b312 /packages/website
parent96568957263858c6832ae972f9df5f02913549c6 (diff)
downloaddexon-sol-tools-9b535e3cec4073205c1343306829bcdec3168002.tar
dexon-sol-tools-9b535e3cec4073205c1343306829bcdec3168002.tar.gz
dexon-sol-tools-9b535e3cec4073205c1343306829bcdec3168002.tar.bz2
dexon-sol-tools-9b535e3cec4073205c1343306829bcdec3168002.tar.lz
dexon-sol-tools-9b535e3cec4073205c1343306829bcdec3168002.tar.xz
dexon-sol-tools-9b535e3cec4073205c1343306829bcdec3168002.tar.zst
dexon-sol-tools-9b535e3cec4073205c1343306829bcdec3168002.zip
Rename baseCurrency to quoteCurrency
Diffstat (limited to 'packages/website')
-rw-r--r--packages/website/ts/components/wallet/wallet.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx
index 257ea8ac4..2097c0eab 100644
--- a/packages/website/ts/components/wallet/wallet.tsx
+++ b/packages/website/ts/components/wallet/wallet.tsx
@@ -526,10 +526,10 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
),
);
const joinedTokenSymbols = _.keys(tokenAddressBySymbol).join(',');
- const baseCurrency = 'USD';
+ const quoteCurrency = 'USD';
const queryParams = {
fsyms: joinedTokenSymbols,
- tsyms: baseCurrency,
+ tsyms: quoteCurrency,
};
try {
this._cryptoCompareLastFetchTimestampMs = Date.now();
@@ -542,7 +542,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
_.get(tokenAddressBySymbol, symbol),
);
const result = _.mapValues(priceInfoByAddress, priceInfo => {
- const price = _.get(priceInfo, baseCurrency);
+ const price = _.get(priceInfo, quoteCurrency);
const priceBigNumber = new BigNumber(price);
return priceBigNumber;
});