From 50a005da5497d37ff1e8b49cc4fbe63c33285304 Mon Sep 17 00:00:00 2001 From: Chewbacca Date: Mon, 24 Apr 2023 11:46:31 -0400 Subject: [PATCH] Fix counter in Group tabs --- app/soapbox/pages/group-page.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/app/soapbox/pages/group-page.tsx b/app/soapbox/pages/group-page.tsx index ae383be8c..79076a16a 100644 --- a/app/soapbox/pages/group-page.tsx +++ b/app/soapbox/pages/group-page.tsx @@ -76,12 +76,6 @@ const GroupPage: React.FC = ({ params, children }) => { const isBlocked = group?.relationship?.blocked_by; const isPrivate = group?.locked; - // if ((group as any) === false) { - // return ( - // - // ); - // } - const tabItems = useMemo(() => { const items = []; items.push({ @@ -111,7 +105,7 @@ const GroupPage: React.FC = ({ params, children }) => { }); return items; - }, [features.groupsTags]); + }, [features.groupsTags, pending.length]); const renderChildren = () => { if (!isMember && isPrivate) {