feat: display posts of those a user follows on following page
This commit is contained in:
@@ -17,6 +17,16 @@ export default function AllPosts() {
|
||||
pager.loadMore(PAGE_SIZE);
|
||||
}
|
||||
|
||||
if (pager.isLoading === false && pager.results.length == 0) {
|
||||
return (
|
||||
<div className='flex flex-col justify-center items-center gap-2'>
|
||||
<h2 className='text-2xl'>
|
||||
Hmmm it doesn't look like anyone has posted.
|
||||
</h2>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<div className='flex flex-col items-center w-full'>
|
||||
<div className='flex flex-col items-center w-full'>
|
||||
|
||||
Reference in New Issue
Block a user