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 ErrorDisplay from '../../components/error-display/error-display';
import LoadingEllipsis from '../../components/loading-ellipsis'; import LoadingEllipsis from '../../components/loading-ellipsis';
import BoardPagination from '../../components/board-pagination'; import BoardPagination from '../../components/board-pagination';
import { CatalogButton } from '../../components/board-buttons/board-buttons';
import { PageFooterDesktop, PageFooterMobile } from '../../components/footer'; import { PageFooterDesktop, PageFooterMobile } from '../../components/footer';
import { Post } from '../post'; import { Post } from '../post';
@@ -304,9 +305,7 @@ const Board = ({ feedCacheKey, viewType, boardIdentifier: boardIdentifierProp, i
))} ))}
</div> </div>
<div className={mobileFooterStyles.mobileFooterButtons}> <div className={mobileFooterStyles.mobileFooterButtons}>
<Link to={`${paginationBasePath}/catalog`} className='button'> <CatalogButton address={subplebbitAddress} isInAllView={isInAllView} isInSubscriptionsView={isInSubscriptionsView} isInModView={isInModView} />
{t('catalog')}
</Link>
</div> </div>
</> </>
)} )}
@@ -330,6 +329,7 @@ const Board = ({ feedCacheKey, viewType, boardIdentifier: boardIdentifierProp, i
isInSubscriptionsView, isInSubscriptionsView,
isInModView, isInModView,
subplebbitState, subplebbitState,
subplebbitAddress,
subscriptions?.length, subscriptions?.length,
accountSubplebbitAddresses?.length, accountSubplebbitAddresses?.length,
effectiveInfiniteScroll, effectiveInfiniteScroll,