Skip to content

Commit

Permalink
fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
nguyenhoaidanh committed Sep 26, 2023
1 parent 55ca329 commit 8f2899c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const TokenInfo = ({
</Text>{' '}
<Text as="span" color={+priceChange > 0 ? theme.apr : theme.red}>
({+priceChange > 0 && '+'}
{formatDisplayNumber(priceChange, { style: 'percent', fractionDigits: 2, allowNegative: true })})
{formatDisplayNumber(+priceChange / 100, { style: 'percent', fractionDigits: 2, allowNegative: true })})
</Text>
</Text>
)}
Expand Down

0 comments on commit 8f2899c

Please sign in to comment.