From 512018a1c0e5606d969254a8e2c5ec101cb64366 Mon Sep 17 00:00:00 2001 From: fantasticit Date: Tue, 10 May 2022 11:48:02 +0800 Subject: [PATCH] fix: fix key --- .../src/components/document/comments/comments/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/client/src/components/document/comments/comments/index.tsx b/packages/client/src/components/document/comments/comments/index.tsx index a46012dc..273ce446 100644 --- a/packages/client/src/components/document/comments/comments/index.tsx +++ b/packages/client/src/components/document/comments/comments/index.tsx @@ -17,9 +17,8 @@ const CommentInner = ({ data, depth, replyComment, editComment, deleteComment }) {(data || []).map((item) => { const hasChildren = item.children && item.children.length; return ( - <> +
) : null} - +
); })}