feat(post): add 'loading comments' indicator

This commit is contained in:
Tom (plebeius.eth)
2024-07-12 10:40:02 +02:00
parent 15462f14ed
commit a6a551a25f
39 changed files with 168 additions and 38 deletions
@@ -410,6 +410,11 @@ const PostDesktop = ({ openReplyModal, post, roles, showAllReplies, showReplies
)}
</span>
)}
{replyCount === undefined && (
<span className={styles.loadingString}>
<LoadingEllipsis string={t('loading_comments')} />
</span>
)}
{!isHidden &&
!(pinned && !isInPostPageView && !showOmittedReplies[cid]) &&
!isInPendingPostView &&