We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6f560 commit bf5a6eeCopy full SHA for bf5a6ee
src/services/PriceService.js
@@ -180,7 +180,7 @@ export default class PriceService {
180
const unique = `eos:${x.contract}:${x.symbol}:${x.chainId}`.toLowerCase();
181
if(!uniques.includes(unique)) return;
182
const clone = JSON.parse(JSON.stringify(x))
183
- clone.price = parseFloat(parseFloat(EOS.price * x.price).toFixed(8));
+ if(EOS.price) clone.price = parseFloat(parseFloat(EOS.price * x.price).toFixed(8));
184
result[unique] = convertToMultiCurrency(clone);
185
})
186
0 commit comments