From a6d7b90f75c6fb9573493a9db7da6cfb62ce4898 Mon Sep 17 00:00:00 2001 From: Ted Palmer Date: Tue, 9 Apr 2024 14:52:51 -0400 Subject: [PATCH] Fix missing price for free mints --- components/rankings/MintRankingsTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/rankings/MintRankingsTable.tsx b/components/rankings/MintRankingsTable.tsx index 17eafa31d..2ebb04d1d 100644 --- a/components/rankings/MintRankingsTable.tsx +++ b/components/rankings/MintRankingsTable.tsx @@ -96,7 +96,7 @@ const RankingsTableRow: FC = ({ mint, rank }) => { return optimizeImage(mint?.image || mint?.sampleImages?.[0], 250) }, [mint.image]) - const mintPrice = mint.mintPrice?.toString() + const mintPrice = mint.mintPrice const sampleImages: string[] = mint?.sampleImages || [] @@ -217,7 +217,7 @@ const RankingsTableRow: FC = ({ mint, rank }) => { justify="start" css={{ height: '100%' }} > - {mintPrice !== '0' ? ( + {mintPrice ? (