fix missing button styling

This commit is contained in:
plebeius
2026-03-07 20:48:53 +08:00
parent 8414fac15c
commit a1423b8c5f
+3 -3
View File
@@ -20,6 +20,7 @@ import { getPageFromFeedPath, getSubplebbitAddress, isDirectoryBoard, normalizeM
import ErrorDisplay from '../../components/error-display/error-display';
import LoadingEllipsis from '../../components/loading-ellipsis';
import BoardPagination from '../../components/board-pagination';
import { CatalogButton } from '../../components/board-buttons/board-buttons';
import { PageFooterDesktop, PageFooterMobile } from '../../components/footer';
import { Post } from '../post';
@@ -304,9 +305,7 @@ const Board = ({ feedCacheKey, viewType, boardIdentifier: boardIdentifierProp, i
))}
</div>
<div className={mobileFooterStyles.mobileFooterButtons}>
<Link to={`${paginationBasePath}/catalog`} className='button'>
{t('catalog')}
</Link>
<CatalogButton address={subplebbitAddress} isInAllView={isInAllView} isInSubscriptionsView={isInSubscriptionsView} isInModView={isInModView} />
</div>
</>
)}
@@ -330,6 +329,7 @@ const Board = ({ feedCacheKey, viewType, boardIdentifier: boardIdentifierProp, i
isInSubscriptionsView,
isInModView,
subplebbitState,
subplebbitAddress,
subscriptions?.length,
accountSubplebbitAddresses?.length,
effectiveInfiniteScroll,