Commit 61d0fd90 authored by unipadmini's avatar unipadmini Committed by GitHub

fix: Add ETH to the floor price in trending collections banner. (#5194)

Co-authored-by: default avatarPadmini Pyapali <padminipyapali@Padminis-MacBook-Pro.local>
parent 68709ae6
......@@ -164,15 +164,15 @@ const TableElement = styled.div`
interface MarketplaceRowProps {
marketplace: string
floor?: string
floorInEth?: string
listings?: string
}
export const MarketplaceRow = ({ marketplace, floor, listings }: MarketplaceRowProps) => {
export const MarketplaceRow = ({ marketplace, floorInEth, listings }: MarketplaceRowProps) => {
return (
<>
<TableElement>{marketplace}</TableElement>
<TableElement>{floor ?? '-'}</TableElement>
<TableElement>{floorInEth ?? '-'} ETH</TableElement>
<TableElement>{listings ?? '-'}</TableElement>
</>
)
......@@ -235,7 +235,7 @@ export const CarouselCard = ({ collection, onClick }: CarouselCardProps) => {
key={`CarouselCard-key-${collection.address}-${marketplace.marketplace}`}
marketplace={MARKETS_ENUM_TO_NAME[market]}
listings={marketplace.count.toString()}
floor={marketplace.floorPrice.toString()}
floorInEth={marketplace.floorPrice.toString()}
/>
)
})}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment