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()) )
|
||||
}
|
||||
loadBundles()
|
||||
}, [])
|
||||
}, [userLocales])
|
||||
|
||||
if (!bundles) {
|
||||
// Show a loader.
|
||||
|
|
Loading…
Reference in a new issue