diff --git a/components/mumbles.tsx b/components/mumbles.tsx index 889d471..133e31b 100644 --- a/components/mumbles.tsx +++ b/components/mumbles.tsx @@ -43,7 +43,8 @@ export const Mumbles: FC = ({ hasMore={hasMore} loader={} endMessage={ - isEndMessageNeeded && ( + isEndMessageNeeded && + !!mumbles.length && ( - ) : (
@@ -210,7 +209,7 @@ export default function ProfilePage() { )} {profileState.context.isOwnProfile && !profileState.context.isNewUserProfile && - !!profileState.context.likedPosts.length && ( + profileState.matches('idle') && ( )} - {!profileState.context.posts.length && profileState.matches('idle') && ( + {((profileState.matches('idle') && + profileState.context.isPostsOpen && + !profileState.context.posts.length) || + (!profileState.context.isPostsOpen && + !profileState.context.likedPosts.length)) && ( )} - {!profileState.context.posts.length || - profileState.matches('loadPostsAndLikedPosts') || + {profileState.matches('loadPostsAndLikedPosts') || profileState.matches('loadPosts') ? ( <>