diff --git a/src/client/includes/formatters.ts b/src/client/includes/formatters.ts index 7a50def..35b226b 100644 --- a/src/client/includes/formatters.ts +++ b/src/client/includes/formatters.ts @@ -70,6 +70,6 @@ export const getTimeFormatter: MemoizedIntlFormatter< }) export const getMessageFormatter = memoize( - (message: string, locale: string) => + (message: string, locale: string = getCurrentLocale()) => new IntlMessageFormat(message, locale, getOptions().formats) )