Add missing check

This commit is contained in:
Chi Vinh Le
2017-04-19 01:07:49 +07:00
parent d3b81dff35
commit e9331e90d3
+1 -1
View File
@@ -67,7 +67,7 @@ class CommentBox extends Component {
})
.catch((err) => {
console.error(err);
setCommentCountCache(commentCountCache);
!isReply && setCommentCountCache(commentCountCache);
});
this.setState({body: ''});
}