Fix navigation bug on Group profiles

This commit is contained in:
Chewbacca 2023-06-05 11:11:57 -04:00
parent 73eedea362
commit 53a012d9bb

View file

@ -139,7 +139,7 @@ const GroupPage: React.FC<IGroupPage> = ({ params, children }) => {
);
return items;
}, [features.groupsTags, pending.length]);
}, [features.groupsTags, pending.length, group?.slug]);
const renderChildren = () => {
if (isDeleted) {
@ -160,6 +160,7 @@ const GroupPage: React.FC<IGroupPage> = ({ params, children }) => {
<GroupHeader group={group} />
<Tabs
key={`group-tabs-${id}`}
items={tabItems}
activeItem={match.path}
/>