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