Skip to content

Commit

Permalink
wip: hardcode value to run against market data api
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjeatt committed Sep 27, 2023
1 parent 8323c38 commit 7eecb02
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hooks/api/use-get-prices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import { useGetCurrencies } from './use-get-currencies';
// MEMO: Returns `undefined` for currencies without coingecko ID.
const getCoingeckoId = (currency: CurrencyExt) => {
if (isForeignAsset(currency)) {
return currency.foreignAsset.coingeckoId;
// This is a temporary fix
return currency.foreignAsset.coingeckoId || 'voucher-dot';
}
return COINGECKO_ID_BY_CURRENCY_TICKER[currency.ticker];
};
Expand Down

0 comments on commit 7eecb02

Please sign in to comment.