diff --git a/src/components/posts/post.js b/src/components/posts/post.js index 0456071..7f30c07 100644 --- a/src/components/posts/post.js +++ b/src/components/posts/post.js @@ -68,7 +68,7 @@ export const RawPostJsx = (props) => { const repliesCount = props.data.replies_count; let commentsText; - if (repliesCount == 0) { + if (repliesCount == 0 || repliesCount == undefined) { commentsText = "View comments"; } else { commentsText = "View "