Commit a350f598 authored by aballerr's avatar aballerr Committed by GitHub

feat: adding in eth value to listing page (#5481)

* adding in eth value in sell page
parent bdc336e1
...@@ -262,9 +262,16 @@ const EthPriceDisplay = ({ ethPrice = 0 }: { ethPrice?: number }) => { ...@@ -262,9 +262,16 @@ const EthPriceDisplay = ({ ethPrice = 0 }: { ethPrice?: number }) => {
<Column width="full"> <Column width="full">
<Row width="full" justifyContent="flex-end"> <Row width="full" justifyContent="flex-end">
{ethPrice !== 0 ? ( {ethPrice !== 0 ? (
<Box className={body} color="textSecondary" marginLeft="12" marginRight="0"> <>
{formatUsdPrice(ethPrice * ethConversion)} <Column>
</Box> <Box className={body} color="textPrimary" marginLeft="12" marginRight="0">
{ethPrice} ETH
</Box>
<Box className={body} color="textSecondary" marginLeft="12" marginRight="0">
{formatUsdPrice(ethPrice * ethConversion)}
</Box>
</Column>
</>
) : ( ) : (
'- ETH' '- ETH'
)} )}
......
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