Fix navigation bug on Group profiles
This commit is contained in:
parent
73eedea362
commit
53a012d9bb
1 changed files with 2 additions and 1 deletions
|
@ -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}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue