mirror of
https://github.com/wassname/talk.git
synced 2026-07-05 11:09:40 +08:00
Ádding reactions, commentContent and updating current Slot
This commit is contained in:
@@ -197,7 +197,9 @@ class Comment extends React.Component {
|
||||
}
|
||||
|
||||
<Content body={comment.body} />
|
||||
<Slot fill="commentContent" />
|
||||
<div className="commentActionsLeft comment__action-container">
|
||||
<Slot fill="commentReactions" inline />
|
||||
<ActionButton>
|
||||
{/* TODO implmement iPerformedThisAction for the like */}
|
||||
<LikeButton
|
||||
@@ -228,7 +230,7 @@ class Comment extends React.Component {
|
||||
</IfUserCanModifyBest>
|
||||
</ActionButton>
|
||||
<Slot
|
||||
fill="commentDetail"
|
||||
fill="commentActions"
|
||||
data={this.props.data}
|
||||
root={this.props.root}
|
||||
comment={comment}
|
||||
|
||||
Reference in New Issue
Block a user