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:
Frane Polić
2025-06-25 09:23:49 +02:00
committed by GitHub
parent 6ca755ede7
commit 9d61bb7e71
6 changed files with 183 additions and 76 deletions

View File

@@ -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",