Switch order of Group Page tabs

This commit is contained in:
Chewbacca 2023-05-05 08:35:21 -04:00
parent db91a00aca
commit 9b011275b8

View file

@ -123,17 +123,19 @@ const GroupPage: React.FC<IGroupPage> = ({ params, children }) => {
}); });
} }
items.push({ items.push(
{
text: intl.formatMessage(messages.media),
to: `/group/${group?.slug}/media`,
name: '/group/:groupSlug/media',
},
{
text: intl.formatMessage(messages.members), text: intl.formatMessage(messages.members),
to: `/group/${group?.slug}/members`, to: `/group/${group?.slug}/members`,
name: '/group/:groupSlug/members', name: '/group/:groupSlug/members',
count: pending.length, count: pending.length,
}, },
{ );
text: intl.formatMessage(messages.media),
to: `/group/${group?.slug}/media`,
name: '/group/:groupSlug/media',
});
return items; return items;
}, [features.groupsTags, pending.length]); }, [features.groupsTags, pending.length]);