mirror of
https://github.com/wassname/talk.git
synced 2026-08-15 12:55:10 +08:00
Hiding after action
This commit is contained in:
@@ -5,13 +5,13 @@ import RejectCommentAction from '../components/RejectCommentAction';
|
||||
class RejectCommentActionContainer extends React.Component {
|
||||
|
||||
rejectComment = () => {
|
||||
const {setCommentStatus, comment} = this.props;
|
||||
const {setCommentStatus, comment, hideTooltip} = this.props;
|
||||
|
||||
setCommentStatus({
|
||||
commentId: comment.id,
|
||||
status: 'REJECTED'
|
||||
});
|
||||
|
||||
|
||||
hideTooltip();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user