From 191a551ea3fbe0e0974ea7f9d8d8bd775e5fd9d4 Mon Sep 17 00:00:00 2001 From: israellund Date: Fri, 11 Oct 2024 09:32:04 -0400 Subject: [PATCH] more communities shown on explore page --- .../client/scripts/views/pages/Communities/Communities.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/packages/commonwealth/client/scripts/views/pages/Communities/Communities.tsx b/packages/commonwealth/client/scripts/views/pages/Communities/Communities.tsx index 2ec7b0f5c10..4bcbbd4ec9f 100644 --- a/packages/commonwealth/client/scripts/views/pages/Communities/Communities.tsx +++ b/packages/commonwealth/client/scripts/views/pages/Communities/Communities.tsx @@ -33,8 +33,6 @@ type ExtendedCommunitySliceType = [ ]; const CommunitiesPage = () => { - const containerRef = useRef(); - const { setModeOfManageCommunityStakeModal, modeOfManageCommunityStakeModal, @@ -137,8 +135,7 @@ const CommunitiesPage = () => { }; return ( - // @ts-expect-error - +
@@ -206,7 +203,6 @@ const CommunitiesPage = () => { className="communities-list" style={{ height: '100%', width: '100%' }} data={isInitialCommunitiesLoading ? [] : communitiesList} - customScrollParent={containerRef.current} itemContent={(listIndex, slicedCommunities) => { return slicedCommunities.map((community, sliceIndex) => { const canBuyStake = !!user.addresses.find?.(