fixed header menu in InsideGroup

This commit is contained in:
namushka 2024-02-29 18:27:49 +03:00
parent 84061fef5a
commit 3cb4808ed8

View File

@ -272,7 +272,10 @@ const SectionHeaderContent = (props) => {
const isInsideGroup = !!groupId;
const isAccountsPage = location.pathname.includes("/accounts");
const isGroupsPage = location.pathname.includes("/accounts/groups");
const isGroupsPage =
location.pathname.includes("/accounts/groups") && !isInsideGroup;
console.log("isGroupsPage", isGroupsPage);
const isSettingsPage = location.pathname.includes("/settings");