From: abias Date: Thu, 15 Jun 2023 01:14:21 +0000 (-0400) Subject: Address PR feedback X-Git-Url: http://these/git/%7B%60%24%7BwebArchiveUrl%7D/%22%7B%7D/%22https:/nerdica.net/%7B?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 && ( + + ) + ); } }