From b0189658a21530c5b179f6bb4ae726bf7ffc3eac Mon Sep 17 00:00:00 2001 From: abias Date: Wed, 14 Jun 2023 21:14:21 -0400 Subject: [PATCH] Address PR feedback --- .../components/comment/comment-nodes.tsx | 102 +++++++++--------- 1 file changed, 52 insertions(+), 50 deletions(-) diff --git a/src/shared/components/comment/comment-nodes.tsx b/src/shared/components/comment/comment-nodes.tsx index e9876e69..8c0a236e 100644 --- a/src/shared/components/comment/comment-nodes.tsx +++ b/src/shared/components/comment/comment-nodes.tsx @@ -82,55 +82,57 @@ export class CommentNodes extends Component { ? colorList[this.props.depth % colorList.length] : colorList[0]; - return this.props.nodes.length > 0 ? ( - - ) : null; + return ( + this.props.nodes.length > 0 && ( + + ) + ); } }