Merge branch 'master' of https://github.com/ONLYOFFICE/CommunityServer-AspNetCore
This commit is contained in:
commit
5bc15e8e29
@ -15,7 +15,7 @@ const Layout = ({ currentProductId, setCurrentProductId, language, children }) =
|
||||
useEffect(() => {
|
||||
currentProductId !== 'settings' && setCurrentProductId('settings');
|
||||
i18n.changeLanguage(language);
|
||||
}, [language]);
|
||||
}, [currentProductId, language, setCurrentProductId]);
|
||||
|
||||
return (
|
||||
<I18nextProvider i18n={i18n}>
|
||||
|
Loading…
Reference in New Issue
Block a user