add skeleton to p/all

This commit is contained in:
plebeius.eth
2023-06-09 09:00:23 +02:00
parent f596282fd6
commit ab1cea7c00
2 changed files with 7 additions and 6 deletions
+3 -3
View File
@@ -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(