From dafcefd4f459d14737a9922cc4ba0400fbc9040a Mon Sep 17 00:00:00 2001 From: mrfry Date: Fri, 21 May 2021 11:26:56 +0200 Subject: [PATCH] Comment button --- src/components/newsEntry.js | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) 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({ )}
+ { + onCommentReact({ path, reaction, isDelete }) + }} + onComment={onComment} + onDelete={onDelete} + comments={comments} + /> {uid === user ? ( { @@ -59,15 +68,6 @@ export default function NewsEntry({ }} />
- { - onCommentReact({ path, reaction, isDelete }) - }} - onComment={onComment} - onDelete={onDelete} - comments={comments} - /> ) }