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>
|
||||||
</div>
|
</div>
|
||||||
{!isFetching && isLoadMoreVisible && (
|
{!isFetching && isLoadMoreVisible && filteredBlogs.length > 0 && (
|
||||||
<div className='IBMSMListFeedLoadMore'>
|
<div className='IBMSMListFeedLoadMore'>
|
||||||
<button
|
<button
|
||||||
className='btn btnMain IBMSMListFeedLoadMoreBtn'
|
className='btn btnMain IBMSMListFeedLoadMoreBtn'
|
||||||
|
@ -213,7 +213,7 @@ export const FeedTabMods = () => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{!isFetching && isLoadMoreVisible && (
|
{!isFetching && isLoadMoreVisible && filteredModList.length > 0 && (
|
||||||
<div className='IBMSMListFeedLoadMore'>
|
<div className='IBMSMListFeedLoadMore'>
|
||||||
<button
|
<button
|
||||||
className='btn btnMain IBMSMListFeedLoadMoreBtn'
|
className='btn btnMain IBMSMListFeedLoadMoreBtn'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user