diff --git a/explorer/src/components/account/TokenAccountSection.tsx b/explorer/src/components/account/TokenAccountSection.tsx index dc6dcdaeb..56c5bba18 100644 --- a/explorer/src/components/account/TokenAccountSection.tsx +++ b/explorer/src/components/account/TokenAccountSection.tsx @@ -108,8 +108,12 @@ function FungibleTokenMintAccountCard({ const coinInfo = useCoinGecko(tokenInfo?.extensions?.coingeckoId); let tokenPriceInfo; + let tokenPriceDecimals = 2; if (coinInfo?.status === CoingeckoStatus.Success) { tokenPriceInfo = coinInfo.coinInfo; + if (tokenPriceInfo && tokenPriceInfo.price < 1) { + tokenPriceDecimals = 6; + } } return ( @@ -130,7 +134,7 @@ function FungibleTokenMintAccountCard({

- ${tokenPriceInfo.price.toFixed(2)}{" "} + ${tokenPriceInfo.price.toFixed(tokenPriceDecimals)}{" "} {tokenPriceInfo.price_change_percentage_24h > 0 && ( ↑{" "}