mirror of
https://github.com/voltbonn/profile-picture-generator.git
synced 2024-12-22 15:55:08 +00:00
BUGFIX missing hook dependency
This commit is contained in:
parent
ed49e9ff66
commit
3ae18f3412
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ export function AppLocalizationProvider({ userLocales, children, onLocaleChange
|
|||
setBundles( new ReactLocalization(generateBundles()) )
|
||||
}
|
||||
loadBundles()
|
||||
}, [userLocales])
|
||||
}, [userLocales, onLocaleChange])
|
||||
|
||||
if (!bundles) {
|
||||
// Show a loader.
|
||||
|
|
Loading…
Reference in a new issue