From 0159849a2c9cd8a63cfe826d5d5f30081c3858f2 Mon Sep 17 00:00:00 2001 From: Ted Palmer Date: Fri, 21 Jul 2023 20:16:53 -0400 Subject: [PATCH] Update homepage to use decimal instead of native for mint price --- components/home/CollectionTopSellingTable.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/home/CollectionTopSellingTable.tsx b/components/home/CollectionTopSellingTable.tsx index 76ec4aa36..0def6d673 100644 --- a/components/home/CollectionTopSellingTable.tsx +++ b/components/home/CollectionTopSellingTable.tsx @@ -241,7 +241,7 @@ const AllSalesTableRow: FC = ({ const mintData = collection?.mintStages?.find( (stage) => stage.kind === 'public' ) - const mintPrice = mintData?.price.amount?.native || 0 + const mintPrice = mintData?.price.amount?.decimal || 0 const floorAsk = collection?.floorAsk?.price?.amount?.native || 0 const { routePrefix } = useMarketplaceChain() @@ -530,7 +530,7 @@ const MintTableRow: FC = ({ const mintData = collection?.mintStages?.find( (stage) => stage.kind === 'public' ) - const mintPrice = mintData?.price.amount?.native || 0 + const mintPrice = mintData?.price.amount?.decimal || 0 const collectionImage = useMemo(() => { return optimizeImage(topSellingCollection?.image as string, 250)