Hiding after action

This commit is contained in:
Belen Curcio
2017-09-12 13:42:49 -03:00
parent 9c08b586ec
commit 297b905163
@@ -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();
}