mirror of
https://github.com/voltbonn/profile-picture-generator.git
synced 2024-12-22 15:55:08 +00:00
BUGFIX rebuild languge-bundle when userLocales changes
This commit is contained in:
parent
0a9bd18338
commit
5a4a1b1372
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ export function AppLocalizationProvider({ userLocales, children }){
|
||||||
setBundles( new ReactLocalization(generateBundles()) )
|
setBundles( new ReactLocalization(generateBundles()) )
|
||||||
}
|
}
|
||||||
loadBundles()
|
loadBundles()
|
||||||
}, [])
|
}, [userLocales])
|
||||||
|
|
||||||
if (!bundles) {
|
if (!bundles) {
|
||||||
// Show a loader.
|
// Show a loader.
|
||||||
|
|
Loading…
Reference in a new issue