Skip to content

Commit

Permalink
committing to change branches
Browse files Browse the repository at this point in the history
  • Loading branch information
Israellund authored and ilijabojanovic committed Oct 15, 2024
1 parent b10cf89 commit a0510d7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ type ExtendedCommunitySliceType = [
];

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

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

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

Please sign in to comment.