From 6e0cb4603200e494228e788c43793bc3ee4956ca Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 26 Feb 2026 14:11:24 -0800 Subject: lint remotely --- src/lib/utils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/utils.ts') diff --git a/src/lib/utils.ts b/src/lib/utils.ts index dc239739..4bf96d6e 100644 --- a/src/lib/utils.ts +++ b/src/lib/utils.ts @@ -332,7 +332,8 @@ export const f = ( maximumFractionDigits = 2, ) => { const cur = currency || "USD"; - const l = typeof locale === "function" ? (locale as () => string)() : locale || localeMap[cur] || "en-US"; + const l = + typeof locale === "function" ? (locale as () => string)() : locale || localeMap[cur] || "en-US"; const region = l.length >= 2 ? l.slice(-2) : ""; const currencyDisplay = region && cur.startsWith(region) ? "narrowSymbol" : "symbol"; return new Intl.NumberFormat(l, { -- cgit v1.2.3