From 79cfcad026f1c0fa5540c95340244b51f7d678d7 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Thu, 30 Oct 2025 11:03:22 +0700 Subject: [PATCH] chore(FE-91): set formatCurrency default currency to indonesian currency --- src/lib/helper.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/helper.ts b/src/lib/helper.ts index 002be5a3..aeda46f6 100644 --- a/src/lib/helper.ts +++ b/src/lib/helper.ts @@ -31,8 +31,8 @@ export const formatNumber = ( export const formatCurrency = ( value: number | bigint | Intl.StringNumericLiteral, - currency = 'USD', - locale = 'en-US', + currency = 'IDR', + locale = 'id-ID', minimumFractionDigits = 0, maximumFractionDigits = 2 ) => {