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