mirror of
https://gitlab.com/MrFry/qmining-page
synced 2025-04-01 20:23:44 +02:00
Comment button
This commit is contained in:
parent
254482e812
commit
dafcefd4f4
1 changed files with 9 additions and 9 deletions
|
@ -42,6 +42,15 @@ export default function NewsEntry({
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className={'actions'}>
|
<div className={'actions'}>
|
||||||
|
<Comments
|
||||||
|
uid={uid}
|
||||||
|
onReact={(path, reaction, isDelete) => {
|
||||||
|
onCommentReact({ path, reaction, isDelete })
|
||||||
|
}}
|
||||||
|
onComment={onComment}
|
||||||
|
onDelete={onDelete}
|
||||||
|
comments={comments}
|
||||||
|
/>
|
||||||
{uid === user ? (
|
{uid === user ? (
|
||||||
<span
|
<span
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
|
@ -59,15 +68,6 @@ export default function NewsEntry({
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<Comments
|
|
||||||
uid={uid}
|
|
||||||
onReact={(path, reaction, isDelete) => {
|
|
||||||
onCommentReact({ path, reaction, isDelete })
|
|
||||||
}}
|
|
||||||
onComment={onComment}
|
|
||||||
onDelete={onDelete}
|
|
||||||
comments={comments}
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue