From 3a13c60d5921139cda866c167137ba976aa99fab Mon Sep 17 00:00:00 2001
From: tanjinzhou <415800467@qq.com>
Date: Mon, 8 Jun 2020 17:41:29 +0800
Subject: [PATCH] fix: comment empty children

---
 components/comment/index.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/components/comment/index.jsx b/components/comment/index.jsx
index d64d97c60..10d5797aa 100644
--- a/components/comment/index.jsx
+++ b/components/comment/index.jsx
@@ -85,7 +85,7 @@ const Comment = {
     return (
       <div class={prefixCls}>
         {comment}
-        {children ? this.renderNested(prefixCls, children) : null}
+        {children && children.length ? this.renderNested(prefixCls, children) : null}
       </div>
     );
   },