mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
removed InfiniteScroll loader
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user