fix stats spot chart on mobile

This commit is contained in:
saml33 2023-01-19 20:54:50 +11:00
parent 1513fb0372
commit edc1013869
1 changed files with 3 additions and 1 deletions

View File

@ -140,7 +140,9 @@ const MobileSpotMarketItem = ({ market }: { market: Serum3Market }) => {
const coingeckoData = useMemo(() => {
if (!loadingPrices && bank) {
return coingeckoPrices.find((asset) => asset.symbol === bank?.name)
return coingeckoPrices.find(
(asset) => asset.symbol.toUpperCase() === bank?.name
)
}
return null
}, [loadingPrices, bank])