fix(feed): hide Load More if no posts
This commit is contained in:
parent
2991dd448c
commit
d1e85dab96
@ -177,7 +177,7 @@ export const FeedTabBlogs = () => {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{!isFetching && isLoadMoreVisible && (
|
||||
{!isFetching && isLoadMoreVisible && filteredBlogs.length > 0 && (
|
||||
<div className='IBMSMListFeedLoadMore'>
|
||||
<button
|
||||
className='btn btnMain IBMSMListFeedLoadMoreBtn'
|
||||
|
@ -213,7 +213,7 @@ export const FeedTabMods = () => {
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{!isFetching && isLoadMoreVisible && (
|
||||
{!isFetching && isLoadMoreVisible && filteredModList.length > 0 && (
|
||||
<div className='IBMSMListFeedLoadMore'>
|
||||
<button
|
||||
className='btn btnMain IBMSMListFeedLoadMoreBtn'
|
||||
|
Loading…
x
Reference in New Issue
Block a user