diff --git a/src/l10n.js b/src/l10n.js index 6f7c6bb..a4673ce 100644 --- a/src/l10n.js +++ b/src/l10n.js @@ -61,7 +61,7 @@ export function AppLocalizationProvider({ userLocales, children }){ setBundles( new ReactLocalization(generateBundles()) ) } loadBundles() - }, []) + }, [userLocales]) if (!bundles) { // Show a loader.