Skip to content

Commit

Permalink
dashboard/balance: remove minus sign
Browse files Browse the repository at this point in the history
The minus sign was present two times
  • Loading branch information
Pilou97 committed Apr 3, 2024
1 parent 83e1767 commit 984954a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/dashboard/balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Balance = ({ balance, evolution, price }: BalanceProps) => {
isPriceIncreasing ? "text-emerald-500" : "text-red-500"
}`}
>
({isPriceIncreasing ? "+" : "-"}
({isPriceIncreasing ? "+" : ""}
{evolution && ((evolution - 1) * 100).toFixed(2)}%)
</span>
</div>
Expand Down

0 comments on commit 984954a

Please sign in to comment.