dropped amount sign from CurrencyField.tsx
This commit is contained in:
@@ -15,7 +15,7 @@ export function formatCurrency(amount: number, currency?: string): string {
|
|||||||
});
|
});
|
||||||
_currencyFormatters.set(code, formatter);
|
_currencyFormatters.set(code, formatter);
|
||||||
}
|
}
|
||||||
return formatter.format(amount);
|
return formatter.format(Math.abs(amount));
|
||||||
}
|
}
|
||||||
|
|
||||||
interface CurrencyFieldProps {
|
interface CurrencyFieldProps {
|
||||||
|
|||||||
Reference in New Issue
Block a user