diff --git a/packages/react-app-revamp/components/_pages/ListProposals/container.tsx b/packages/react-app-revamp/components/_pages/ListProposals/container.tsx index d45ef7dbc..f7d183f2b 100644 --- a/packages/react-app-revamp/components/_pages/ListProposals/container.tsx +++ b/packages/react-app-revamp/components/_pages/ListProposals/container.tsx @@ -17,9 +17,8 @@ const ListProposalsContainer = ({ enabledPreview, children }: ListProposalsConta case EntryPreview.IMAGE_AND_TITLE: case EntryPreview.TWEET: const childrenArray = React.Children.toArray(children); - const firstColumn = childrenArray.filter((_, index) => index % 3 === 0); - const secondColumn = childrenArray.filter((_, index) => index % 3 === 1); - const thirdColumn = childrenArray.filter((_, index) => index % 3 === 2); + const leftColumn = childrenArray.filter((_, index) => index % 2 === 0); + const rightColumn = childrenArray.filter((_, index) => index % 2 !== 0); if (isMobile) { return
{children}
; @@ -28,21 +27,14 @@ const ListProposalsContainer = ({ enabledPreview, children }: ListProposalsConta return (
- {firstColumn.map((child, index) => ( + {leftColumn.map((child, index) => (
{child}
))}
- {secondColumn.map((child, index) => ( -
- {child} -
- ))} -
-
- {thirdColumn.map((child, index) => ( + {rightColumn.map((child, index) => (
{child}