fix(dashboard): format currency sign (#8936)
**What** - change `formatCurrency` admin util to show sign only for negative numbers --- FIXES CC-335
This commit is contained in:
@@ -2,6 +2,6 @@ export const formatCurrency = (amount: number, currency: string) => {
|
||||
return new Intl.NumberFormat("en-US", {
|
||||
style: "currency",
|
||||
currency,
|
||||
signDisplay: "always",
|
||||
signDisplay: "auto",
|
||||
}).format(amount)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user