diff --git a/src/components/Thread.jsx b/src/components/Thread.jsx index 28ccfd3c..24fddb9f 100644 --- a/src/components/Thread.jsx +++ b/src/components/Thread.jsx @@ -534,7 +534,6 @@ const Thread = ({ setBodyStyle }) => { event.target.style.cursor='pointer'} onTouchStart={handleClickBottom}>Bottom ] - {/* "loading" indicator while replycount loads */} {comment ? ( comment.replyCount !== undefined ? ( comment.replyCount > 0 ? ( @@ -918,11 +917,20 @@ const Thread = ({ setBodyStyle }) => { {comment ? ( - comment.replyCount > 0 ? ( - {comment.replyCount} replies + comment.replyCount !== undefined ? ( + comment.replyCount > 0 ? ( + comment.replyCount === 1 ? ( + {comment.replyCount} reply + ) : ( + {comment.replyCount} replies + ) + ) : ( + No replies yet + ) ) : ( - No replies yet - )) : ( + Loading... + ) + ) : ( null )}