diff --git a/apps/comments-ui/src/components/CommentsBox.js b/apps/comments-ui/src/components/CommentsBox.js index 5e09d7035d..5f3726dd1c 100644 --- a/apps/comments-ui/src/components/CommentsBox.js +++ b/apps/comments-ui/src/components/CommentsBox.js @@ -14,7 +14,7 @@ const CommentsBoxContent = (props) => { const {pagination, member, comments, commentsEnabled} = useContext(AppContext); const commentsElements = comments.slice().reverse().map(comment => ); - const commentsCount = comments.length; + const commentsCount = pagination?.total || 0; const paidOnly = commentsEnabled === 'paid'; const isPaidMember = member && !!member.paid;