fix(posts): hide stale initializing footer

This commit is contained in:
Tommaso Casaburi
2026-06-18 22:27:30 +07:00
parent 87df18162c
commit fb1a61eace
4 changed files with 32 additions and 3 deletions
+2 -1
View File
@@ -62,6 +62,7 @@ import { getCommentUserID } from '../../lib/utils/comment-user-id-utils';
import { getFeedPostHeightEstimate, getReplyHeightEstimates, reportReplyHeightAuditSample } from '../../lib/utils/pretext-height-estimates';
import { getAuthorBadge } from '../../lib/utils/author-display-utils';
import { hasCommentFlagsForDirectory } from '../../lib/comment-flag-selection';
import { shouldSuppressPostLoadingState } from '../../lib/utils/post-loading-state-utils';
const RepliesFooter = ({ hasMore, loadingString }: { hasMore: boolean; loadingString: string }) =>
hasMore ? (
@@ -1031,7 +1032,7 @@ const PostMobile = ({
stateString &&
!hasFailedState &&
state !== 'succeeded' &&
!(resolvedPost?.timestamp && !resolvedPost?.updatedAt) &&
!shouldSuppressPostLoadingState(resolvedPost) &&
isInPostPageView &&
!(!showReplies && !showAllReplies) ? (
<div className={styles.stateString}>