fix(feed): no posts message
This commit is contained in:
parent
d1e85dab96
commit
33c8af6018
@ -165,16 +165,16 @@ export const FeedTabBlogs = () => {
|
||||
{isFetching && (
|
||||
<LoadingSpinner desc='Fetching blog details from relays' />
|
||||
)}
|
||||
{filteredBlogs.length === 0 && !isFetching && (
|
||||
<div className='IBMSMListFeedNoPosts'>
|
||||
<p>You aren't following people (or there are no posts to show)</p>
|
||||
</div>
|
||||
)}
|
||||
<div className='IBMSMSplitMainFullSideSec IBMSMSMFSSContent'>
|
||||
<div className='IBMSMList IBMSMListFeed'>
|
||||
{filteredBlogs.map((blog) => (
|
||||
<BlogCard key={blog.id} {...blog} />
|
||||
))}
|
||||
{filteredBlogs.length === 0 && !isFetching && (
|
||||
<div className='IBMSMListFeedNoPosts'>
|
||||
<p>You aren't following people (or there are no posts to show)</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{!isFetching && isLoadMoreVisible && filteredBlogs.length > 0 && (
|
||||
|
@ -201,16 +201,16 @@ export const FeedTabMods = () => {
|
||||
return (
|
||||
<>
|
||||
{isFetching && <LoadingSpinner desc='Fetching mod details from relays' />}
|
||||
{filteredModList.length === 0 && !isFetching && (
|
||||
<div className='IBMSMListFeedNoPosts'>
|
||||
<p>You aren't following people (or there are no posts to show)</p>
|
||||
</div>
|
||||
)}
|
||||
<div className='IBMSMSplitMainFullSideSec IBMSMSMFSSContent'>
|
||||
<div className='IBMSMList IBMSMListFeed'>
|
||||
{filteredModList.map((mod) => (
|
||||
<ModCard key={mod.id} {...mod} />
|
||||
))}
|
||||
{filteredModList.length === 0 && !isFetching && (
|
||||
<div className='IBMSMListFeedNoPosts'>
|
||||
<p>You aren't following people (or there are no posts to show)</p>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
{!isFetching && isLoadMoreVisible && filteredModList.length > 0 && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user