removed InfiniteScroll loader

This commit is contained in:
plebbitor
2023-03-25 21:44:28 +01:00
parent 014a00386c
commit f1ac858534
+4 -1
View File
@@ -371,11 +371,13 @@ const Board = () => {
<Tooltip id="tooltip" className="tooltip" />
<BoardForm selectedStyle={selectedStyle}>
<div className="board">
{feed.length < 1 ? (
<PostLoader />
) : (
<InfiniteScroll
pageStart={0}
loadMore={tryLoadMore}
hasMore={hasMore}
loader={<PostLoader key="loader" />}
>
{feed.map(thread => {
const { replies: { pages: { topAll: { comments } } } } = thread;
@@ -816,6 +818,7 @@ const Board = () => {
</Fragment>
)})}
</InfiniteScroll>
)}
</div>
</BoardForm>
</Container>