mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add skeleton to p/all
This commit is contained in:
@@ -328,9 +328,7 @@ const All = () => {
|
||||
<Tooltip id="tooltip" className="tooltip" />
|
||||
<BoardForm selectedStyle={selectedStyle}>
|
||||
<div className="board">
|
||||
{ feed.length < 1 ? (
|
||||
null
|
||||
) : (
|
||||
{feed.length > 0 ? (
|
||||
<Virtuoso
|
||||
increaseViewportBy={2000}
|
||||
data={selectedFeed}
|
||||
@@ -1245,6 +1243,8 @@ const All = () => {
|
||||
useWindowScroll={true}
|
||||
components={{ Footer: hasMore ? () => <PostLoader /> : null }}
|
||||
/>
|
||||
) : (
|
||||
<PostLoader />
|
||||
)}
|
||||
</div>
|
||||
{createPortal(
|
||||
|
||||
Reference in New Issue
Block a user