Skip to content

Commit

Permalink
Merge branch 'armando/grwth-3585-trending-mint-detail-page' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
r3lays committed Dec 1, 2023
2 parents 2b96676 + d3cb893 commit 34a3444
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/rankings/MintRankingsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const RankingsTableRow: FC<RankingsTableRowProps> = ({ mint, rank }) => {
const isSmallDevice = useMediaQuery({ maxWidth: 900 })

const collectionImage = useMemo(() => {
return optimizeImage(mint.image as string, 250)
return optimizeImage(mint?.image || mint?.sampleImages?.[0], 250)
}, [mint.image])

const mintPrice = mint.mintPrice?.toString()
Expand Down

0 comments on commit 34a3444

Please sign in to comment.