Commit cd0fb080 authored by Ray Schamp's avatar Ray Schamp Committed by Paul Kaplan

Change conditional rendering to be consistent

parent 2ac90315
......@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment