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