Feed, initial functionality #218
@ -165,16 +165,16 @@ export const FeedTabBlogs = () => {
|
|||||||
{isFetching && (
|
{isFetching && (
|
||||||
<LoadingSpinner desc='Fetching blog details from relays' />
|
<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='IBMSMSplitMainFullSideSec IBMSMSMFSSContent'>
|
||||||
<div className='IBMSMList IBMSMListFeed'>
|
<div className='IBMSMList IBMSMListFeed'>
|
||||||
{filteredBlogs.map((blog) => (
|
{filteredBlogs.map((blog) => (
|
||||||
<BlogCard key={blog.id} {...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>
|
||||||
</div>
|
</div>
|
||||||
{!isFetching && isLoadMoreVisible && filteredBlogs.length > 0 && (
|
{!isFetching && isLoadMoreVisible && filteredBlogs.length > 0 && (
|
||||||
|
@ -201,16 +201,16 @@ export const FeedTabMods = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{isFetching && <LoadingSpinner desc='Fetching mod details from relays' />}
|
{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='IBMSMSplitMainFullSideSec IBMSMSMFSSContent'>
|
||||||
<div className='IBMSMList IBMSMListFeed'>
|
<div className='IBMSMList IBMSMListFeed'>
|
||||||
{filteredModList.map((mod) => (
|
{filteredModList.map((mod) => (
|
||||||
<ModCard key={mod.id} {...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>
|
||||||
</div>
|
</div>
|
||||||
{!isFetching && isLoadMoreVisible && filteredModList.length > 0 && (
|
{!isFetching && isLoadMoreVisible && filteredModList.length > 0 && (
|
||||||
|
Loading…
x
Reference in New Issue
Block a user