1
0
Fork 0
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:
thomasrosen 2021-01-23 21:21:31 +01:00
parent ed49e9ff66
commit 3ae18f3412

View file

@ -68,7 +68,7 @@ export function AppLocalizationProvider({ userLocales, children, onLocaleChange
setBundles( new ReactLocalization(generateBundles()) )
}
loadBundles()
}, [userLocales])
}, [userLocales, onLocaleChange])
if (!bundles) {
// Show a loader.