Skip to content

Commit

Permalink
chore: display % next to price
Browse files Browse the repository at this point in the history
  • Loading branch information
dariakoko committed Oct 25, 2024
1 parent 52e9305 commit 8b290a6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -157,12 +157,12 @@ const RecentlySoldCardSection: React.FC<RecentlySoldCardSectionProps> = ({
}) => {
return (
<Flex>
<Flex flexDirection="row" justifyContent="space-between">
<Flex flexDirection="row">
<Text variant="md" numberOfLines={1}>
{priceRealizedDisplay}
</Text>
{!!performanceDisplay && (
<Text variant="md" color="green" numberOfLines={1}>
<Text variant="md" color="green" numberOfLines={1} ml={0.5}>
{`+${performanceDisplay}`}
</Text>
)}
Expand Down

0 comments on commit 8b290a6

Please sign in to comment.