Change conditional rendering to be consistent

This commit is contained in:
Ray Schamp 2018-10-17 11:20:26 -04:00 committed by Paul Kaplan
parent 2ac90315ea
commit cd0fb08045

View file

@ -114,14 +114,14 @@ class Comment extends React.Component {
<div className="action-list">
{visible ? (
<React.Fragment>
{canDelete ? (
{canDelete && (
<span
className="comment-delete"
onClick={this.handleDelete}
>
<FormattedMessage id="comments.delete" />
</span>
) : null}
)}
<span
className="comment-report"
onClick={this.handleReport}