feat(MED-100): create medusa store account for user

This commit is contained in:
2025-07-17 10:19:27 +03:00
parent 736194bb0b
commit 55869ea16f
6 changed files with 110 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ export function formatCurrency(params: {
locale: string;
value: string | number;
}) {
const [lang, region] = params.locale.split('-');
const [lang, region] = (params.locale ?? 'et-ET').split('-');
return new Intl.NumberFormat(region ?? lang, {
style: 'currency',