fix(feed): hide Load More if no posts

This commit is contained in:
en 2025-02-04 18:47:51 +01:00
parent 2991dd448c
commit d1e85dab96
2 changed files with 2 additions and 2 deletions

View File

@ -177,7 +177,7 @@ export const FeedTabBlogs = () => {
)}
</div>
</div>
{!isFetching && isLoadMoreVisible && (
{!isFetching && isLoadMoreVisible && filteredBlogs.length > 0 && (
<div className='IBMSMListFeedLoadMore'>
<button
className='btn btnMain IBMSMListFeedLoadMoreBtn'

View File

@ -213,7 +213,7 @@ export const FeedTabMods = () => {
)}
</div>
</div>
{!isFetching && isLoadMoreVisible && (
{!isFetching && isLoadMoreVisible && filteredModList.length > 0 && (
<div className='IBMSMListFeedLoadMore'>
<button
className='btn btnMain IBMSMListFeedLoadMoreBtn'