diff --git a/explorer/src/components/account/OwnedTokensCard.tsx b/explorer/src/components/account/OwnedTokensCard.tsx index 2e76635e98..04b763e3ac 100644 --- a/explorer/src/components/account/OwnedTokensCard.tsx +++ b/explorer/src/components/account/OwnedTokensCard.tsx @@ -92,7 +92,8 @@ function HoldingsDetailTable({ tokens }: { tokens: TokenInfoWithPubkey[] }) { const detailsList: React.ReactNode[] = []; const { cluster } = useCluster(); const showLogos = tokens.some( - (t) => TokenRegistry.get(t.info.mint.toBase58(), cluster) !== undefined + (t) => + TokenRegistry.get(t.info.mint.toBase58(), cluster)?.icon !== undefined ); tokens.forEach((tokenAccount) => { const address = tokenAccount.pubkey.toBase58(); @@ -102,7 +103,7 @@ function HoldingsDetailTable({ tokens }: { tokens: TokenInfoWithPubkey[] }) {