Skip to content

Commit

Permalink
Merge pull request #280 from reservoirprotocol/ted/fix-mint-price
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromcunha authored Jul 22, 2023
2 parents 1c091b2 + 0159849 commit ae96d16
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/home/CollectionTopSellingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ const AllSalesTableRow: FC<CollectionTableRowProps> = ({
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()
Expand Down Expand Up @@ -530,7 +530,7 @@ const MintTableRow: FC<CollectionTableRowProps> = ({
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)
Expand Down

2 comments on commit ae96d16

@vercel
Copy link

@vercel vercel bot commented on ae96d16 Jul 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on ae96d16 Jul 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

artblocks-v2 – ./

artblocks-v2-git-main-unevenlabs.vercel.app
artblocks-v2.vercel.app
artblocks-v2-unevenlabs.vercel.app

Please sign in to comment.