mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Change conditional rendering to be consistent
This commit is contained in:
parent
2ac90315ea
commit
cd0fb08045
1 changed files with 2 additions and 2 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue