diff --git a/src/l10n.js b/src/l10n.js index 7941f3d..733d031 100644 --- a/src/l10n.js +++ b/src/l10n.js @@ -66,7 +66,7 @@ export function AppLocalizationProvider({ userLocales, children, onLocaleChange _supportedLocales_, { defaultLocale: _defaultLocale_ } ) - + if (!!onLocaleChange) { onLocaleChange(currentLocales) }