make suggested change

This commit is contained in:
Alec Armbruster 2023-06-11 10:06:10 -04:00
parent b90c0b2bbe
commit 5932fadc3a
No known key found for this signature in database
GPG key ID: 0BE3206ADE0F3B3B

View file

@ -240,11 +240,7 @@ export class CommentNode extends Component<CommentNodeProps, CommentNodeState> {
aria-label={this.expandText}
data-tippy-content={this.expandText}
>
{this.state.collapsed ? (
<Icon icon="plus-square" classes="icon-inline" />
) : (
<Icon icon="minus-square" classes="icon-inline" />
)}
<Icon icon={`${this.state.collapsed ? "plus" : "minus"}-square`} classes="icon-inline" />
</button>
<span className="mr-2">
<PersonListing person={cv.creator} />