fix(dashboard): fix currency input locale formatting (#12812)
* fix: refund forms and format currency util * fix: claim form * fix: return form * fix: exchange form
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
export const formatCurrency = (amount: number, currency: string) => {
|
||||
return new Intl.NumberFormat("en-US", {
|
||||
return new Intl.NumberFormat(undefined, {
|
||||
style: "currency",
|
||||
currency,
|
||||
signDisplay: "auto",
|
||||
|
||||
Reference in New Issue
Block a user