update CommentsItem state on mutation success callback

This commit is contained in:
xavcz 2016-11-08 18:50:50 +01:00
parent 460efe52f6
commit b2620befbd

View file

@ -43,7 +43,7 @@ class CommentsItem extends Component{
}
editSuccessCallback() {
console.log("editSuccessCallback")
this.setState({showEdit: false});
}
deleteComment() {