From e8f50b7ad5bcc8eae4fbcddd70f8d8476743415c Mon Sep 17 00:00:00 2001 From: Developer <> Date: Thu, 18 Feb 2021 16:24:06 -0500 Subject: [PATCH] Added check in Comment to see if data exists before rendering MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Added: - check in Comment to see if data exists before rendering --- app/javascript/gabsocial/components/comment.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/javascript/gabsocial/components/comment.js b/app/javascript/gabsocial/components/comment.js index d9b0a05d..c5efd139 100644 --- a/app/javascript/gabsocial/components/comment.js +++ b/app/javascript/gabsocial/components/comment.js @@ -107,6 +107,7 @@ class Comment extends ImmutablePureComponent { ancestorAccountId, } = this.props + if (!status) return null if (isHidden) { return (