Skip to content

Commit

Permalink
more communities shown on explore page
Browse files Browse the repository at this point in the history
  • Loading branch information
Israellund committed Oct 11, 2024
1 parent 2fa11c6 commit 191a551
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ type ExtendedCommunitySliceType = [
];

const CommunitiesPage = () => {
const containerRef = useRef();

const {
setModeOfManageCommunityStakeModal,
modeOfManageCommunityStakeModal,
Expand Down Expand Up @@ -137,8 +135,7 @@ const CommunitiesPage = () => {
};

return (
// @ts-expect-error <StrictNullChecks/>
<CWPageLayout ref={containerRef} className="CommunitiesPageLayout">
<CWPageLayout className="CommunitiesPageLayout">
<div className="CommunitiesPage">
<div className="header-section">
<div className="description">
Expand Down Expand Up @@ -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?.(
Expand Down

0 comments on commit 191a551

Please sign in to comment.