fix SubscriptionsCatalog skeleton

This commit is contained in:
plebeius.eth
2023-08-13 12:16:56 +02:00
parent 8957dcf615
commit 3bb436873d
@@ -746,7 +746,7 @@ const SubscriptionsCatalog = () => {
</TopBar> </TopBar>
<Tooltip id="tooltip" className="tooltip" /> <Tooltip id="tooltip" className="tooltip" />
<Threads selectedStyle={selectedStyle}> <Threads selectedStyle={selectedStyle}>
{feed.length > 1 ? ( {account.subscriptions.length > 0 ? (
<Virtuoso <Virtuoso
increaseViewportBy={{bottom: 600, top: 600}} increaseViewportBy={{bottom: 600, top: 600}}
totalCount={rows?.length || 0} totalCount={rows?.length || 0}
@@ -760,7 +760,9 @@ const SubscriptionsCatalog = () => {
restoreStateFrom={lastVirtuosoState} restoreStateFrom={lastVirtuosoState}
initialScrollTop={lastVirtuosoState?.scrollTop} initialScrollTop={lastVirtuosoState?.scrollTop}
/> />
) : (<CatalogLoader />)} ) : (
account.subscriptions.length !== 0 ?
<CatalogLoader /> : null)}
</Threads> </Threads>
<Footer selectedStyle={selectedStyle}> <Footer selectedStyle={selectedStyle}>
<Break id="break" selectedStyle={selectedStyle} style={{ <Break id="break" selectedStyle={selectedStyle} style={{