feat(boards list): show 15 boards at a time + p/all, add load more button

This commit is contained in:
Tom (plebeius.eth)
2025-02-03 13:33:11 +01:00
parent 0488a6c629
commit cf849bab70
38 changed files with 117 additions and 41 deletions
+2 -2
View File
@@ -77,7 +77,7 @@ const renderBoardsList = (subplebbits: any, isInCatalogView: boolean, subscripti
<Link to={`/p/${sub.address}${isInCatalogView ? '/catalog' : ''}`}>
{sub.address.endsWith('.eth') || sub.address.endsWith('.sol') ? sub.address : sub.address.slice(0, 10).concat('...')}
</Link>
{index !== subplebbits.length - 1 ? ' /' : null}
{index !== subplebbits?.length - 1 ? ' /' : null}
</span>
))}
]{' '}
@@ -90,7 +90,7 @@ const renderBoardsList = (subplebbits: any, isInCatalogView: boolean, subscripti
<Link to={`/p/${address}${isInCatalogView ? '/catalog' : ''}`}>
{address.endsWith('.eth') || address.endsWith('.sol') ? address : address.slice(0, 10).concat('...')}
</Link>
{index !== subscriptions.length - 1 ? ' /' : null}
{index !== subscriptions?.length - 1 ? ' /' : null}
</span>
))}
]{' '}