From: abias Date: Thu, 15 Jun 2023 01:14:21 +0000 (-0400) Subject: Address PR feedback X-Git-Url: http://these/git/%7B%24%7B%60data:application/%22%7Burl%7D/readmes/static/%7BrepoUrl%7D?a=commitdiff_plain;h=b0189658a21530c5b179f6bb4ae726bf7ffc3eac;p=lemmy-ui.git Address PR feedback --- diff --git a/src/shared/components/comment/comment-nodes.tsx b/src/shared/components/comment/comment-nodes.tsx index e9876e6..8c0a236 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 && ( + + ) + ); } }