From 7034e3185e6eb378751b901319760da7014bedab Mon Sep 17 00:00:00 2001 From: Kristof Csillag Date: Wed, 21 Feb 2024 18:49:17 +0100 Subject: [PATCH] Simplify code --- src/coin-gecko/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/coin-gecko/api.ts b/src/coin-gecko/api.ts index ab7f74497..20076f9f4 100644 --- a/src/coin-gecko/api.ts +++ b/src/coin-gecko/api.ts @@ -82,7 +82,7 @@ export const useAllTokenPrices = (fiatCurrency: string): AllTokenPrices => { isFree: !!token.free, hasUsedCoinGecko: !!token.geckoId, price: token.geckoId && geckoPrices ? (geckoPrices as any)[token.geckoId] : undefined, - fiatCurrency: token.geckoId && geckoPrices ? fiatCurrency : 'xx', + fiatCurrency, } }) return results