diff --git a/src/utils.ts b/src/utils.ts index 338047f..3089faf 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -31,7 +31,7 @@ export const sanitizeLocales = (...locales: any[]): string[] | [] => { try { [current] = Intl.Collator.supportedLocalesOf(locale); } catch (error) { - console.warn(`[i18n]: Non-standard locale provided: '${locales}'. Check your 'translations' and 'loaders' in i18n config...`); + console.warn(`[i18n]: Non-standard locale provided: '${locale}'. Check your 'translations' and 'loaders' in i18n config...`); } return current; @@ -100,4 +100,4 @@ export const checkProps = (props: any, object: any) => { } catch (error) {} return out; -}; \ No newline at end of file +};