fix: stat line polish (#5050)

init
This commit is contained in:
lynn 2022-10-31 14:26:10 -04:00 committed by GitHub
parent ffb6318475
commit 8445d61df0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -285,7 +285,7 @@ const StatsRow = ({ stats, isMobile, ...props }: { stats: GenieCollection; isMob
</StatsItem> </StatsItem>
) : null} ) : null}
{stats.stats?.one_day_floor_change ? ( {stats.stats?.one_day_floor_change ? (
<StatsItem label="24-Hour Floor" isMobile={isMobile ?? false}> <StatsItem label="24-Hour floor" isMobile={isMobile ?? false}>
<PercentChange> <PercentChange>
{floorChangeStr}% {arrow} {floorChangeStr}% {arrow}
</PercentChange> </PercentChange>
@ -306,11 +306,6 @@ const StatsRow = ({ stats, isMobile, ...props }: { stats: GenieCollection; isMob
{uniqueOwnersPercentage}% {uniqueOwnersPercentage}%
</StatsItem> </StatsItem>
) : null} ) : null}
{stats.stats?.total_volume ? (
<StatsItem label="Total Volume" isMobile={isMobile ?? false}>
{totalVolumeStr} ETH
</StatsItem>
) : null}
{stats.stats?.total_listings && listedPercentageStr > 0 ? ( {stats.stats?.total_listings && listedPercentageStr > 0 ? (
<StatsItem label="Listed" isMobile={isMobile ?? false}> <StatsItem label="Listed" isMobile={isMobile ?? false}>
{listedPercentageStr}% {listedPercentageStr}%