Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Nov 14, 2022

Conversation

unipadmini
Copy link
Contributor

Adds "ETH" at the end of floor prices for trending collections in the explore banner.
Hardcoded ETH for now and included a small variable name change to make the logic more explicit and as a quick reminder that we'll need to change that logic if we want to be more flexible with floor price displays in the future.

Fixes https://uniswaplabs.atlassian.net/browse/WEB-2141

@vercel
Copy link

vercel bot commented Nov 14, 2022

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
interface ✅ Ready (Inspect) Visit Preview Nov 14, 2022 at 0:05AM (UTC)

@unipadmini unipadmini requested review from a team and JFrankfurt and removed request for a team November 14, 2022 00:04
@@ -164,15 +164,15 @@ const TableElement = styled.div`

interface MarketplaceRowProps {
marketplace: string
floor?: string
floorInEth?: string
Copy link
Contributor

Choose a reason for hiding this comment

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

feels like we should be taking numbers here rather than strings? they would render properly

Copy link
Contributor

Choose a reason for hiding this comment

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

the variable name change doesn't seem necessary but up to you on that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

tried to minimize change footprint as I'm learning the codebase

@unipadmini unipadmini merged commit 61d0fd9 into main Nov 14, 2022
@unipadmini unipadmini deleted the pp/hardcode_eth_trending_table branch November 14, 2022 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants