diff --git a/src/components/newsEntry.js b/src/components/newsEntry.js index 1ec2f82..c34df05 100644 --- a/src/components/newsEntry.js +++ b/src/components/newsEntry.js @@ -42,6 +42,15 @@ export default function NewsEntry({ )} </div> <div className={'actions'}> + <Comments + uid={uid} + onReact={(path, reaction, isDelete) => { + onCommentReact({ path, reaction, isDelete }) + }} + onComment={onComment} + onDelete={onDelete} + comments={comments} + /> {uid === user ? ( <span onClick={() => { @@ -59,15 +68,6 @@ export default function NewsEntry({ }} /> </div> - <Comments - uid={uid} - onReact={(path, reaction, isDelete) => { - onCommentReact({ path, reaction, isDelete }) - }} - onComment={onComment} - onDelete={onDelete} - comments={comments} - /> </div> ) }