Merge branch 'hotfix/v2.5.1' of https://github.com/ONLYOFFICE/DocSpace-client into hotfix/v2.5.1

This commit is contained in:
namushka 2024-04-26 13:18:22 +03:00
commit 4125b4cd10

View File

@ -46,14 +46,13 @@ StyledComponent.defaultProps = { theme: Base };
const CustomizationNavbar = ({
t,
isLoaded,
tReady,
setIsLoadedCustomizationNavbar,
isLoadedPage,
isSettingPaid,
enablePortalRename,
}) => {
const isLoadedSetting = isLoaded && tReady;
const isLoadedSetting = tReady;
const navigate = useNavigate();
useEffect(() => {
@ -103,9 +102,8 @@ const CustomizationNavbar = ({
export default inject(({ common, settingsStore }) => {
const { enablePortalRename } = settingsStore;
const { isLoaded, setIsLoadedCustomizationNavbar } = common;
const { setIsLoadedCustomizationNavbar } = common;
return {
isLoaded,
setIsLoadedCustomizationNavbar,
enablePortalRename,
};