From e1fde63c028fc7c3e36d854ccd834f824d30c7be Mon Sep 17 00:00:00 2001 From: Bartosz Date: Wed, 23 Oct 2024 10:02:05 +0200 Subject: [PATCH] feat: use usd currency name instead of dollar sign --- src/composables/currencies.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composables/currencies.ts b/src/composables/currencies.ts index da146ccd2..cb9260114 100644 --- a/src/composables/currencies.ts +++ b/src/composables/currencies.ts @@ -116,7 +116,7 @@ export function useCurrencies({ function formatCurrency(value: number): string { return new Intl.NumberFormat( DEFAULT_LOCALE, - { style: 'currency', currencyDisplay: 'narrowSymbol', currency: currentCurrencyCode.value }, + { style: 'currency', currencyDisplay: 'code', currency: currentCurrencyCode.value }, ).format(value); }