Skip to content

Commit

Permalink
fix: Coin tickers
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Mar 12, 2024
1 parent 7c6b3de commit 28c6f8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/src/modules/vendor/TokenConverter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class TokenConverter {
coinTickersPromiseCache[coinId] = {}
}
const ongoingPromise = coinTickersPromiseCache[coinId][usdTicker]
if (ongoingPromise !== undefined) {
if (ongoingPromise === undefined) {
coinTickersPromiseCache[coinId][usdTicker] = window
.fetch(`${this.apiURL}/coins/decentraland/tickers?exchange_ids=${this.converterExchange}`)
.then(response => response.json() as Promise<CoinTickers>)
Expand Down

0 comments on commit 28c6f8c

Please sign in to comment.