Merge branch 'fix-nav-bug' into 'develop'

Fix navigation bug on Group profiles

See merge request soapbox-pub/soapbox!2547
This commit is contained in:
Chewbacca 2023-06-05 15:35:43 +00:00
commit 1a55d926cb

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}
/>