Skip to content

Commit

Permalink
chore: switch change placement
Browse files Browse the repository at this point in the history
  • Loading branch information
rossbulat committed Jan 2, 2025
1 parent 30e739e commit a513115
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/app/src/library/MainFooter/TokenPrice.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,13 @@ export const TokenPriceInner = () => {

return (
<>
<div className="stat">
1 {unit} /{' '}
{new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
}).format(price)}
</div>
<div className="stat">
<span
className={`change${change < 0 ? ' neg' : change > 0 ? ' pos' : ''}`}
Expand All @@ -58,13 +65,6 @@ export const TokenPriceInner = () => {
{change}%
</span>
</div>
<div className="stat">
1 {unit} /{' '}
{new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD',
}).format(price)}
</div>
</>
)
}
Expand Down

0 comments on commit a513115

Please sign in to comment.