From 58198a43bc52220c8decce8443bfa75e454a30fc Mon Sep 17 00:00:00 2001 From: plebbitor Date: Wed, 15 Feb 2023 20:40:43 +0100 Subject: [PATCH] test InfiniteScroll --- src/components/Board.jsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/Board.jsx b/src/components/Board.jsx index f50c63bf..20008f68 100644 --- a/src/components/Board.jsx +++ b/src/components/Board.jsx @@ -4,7 +4,7 @@ import { BoardContext } from '../App'; import { Container, NavBar, Header, Break, PostFormLink, PostFormTable, PostForm, TopBar, BoardForm } from './styles/Board.styled'; import ImageBanner from './ImageBanner'; import { useFeed, useAccountsActions } from '@plebbit/plebbit-react-hooks'; -// import InfiniteScroll from 'react-infinite-scroller'; +import InfiniteScroll from 'react-infinite-scroller'; const Board = ({ setBodyStyle }) => { @@ -300,12 +300,12 @@ const Board = ({ setBodyStyle }) => {
- {/* Loading...
} - > */} + > {feed.map(object => { let counter = 1; const thread = object; @@ -387,7 +387,7 @@ const Board = ({ setBodyStyle }) => {
)})} - {/* */} +