mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 20:19:30 +08:00
Add missing check
This commit is contained in:
@@ -67,7 +67,7 @@ class CommentBox extends Component {
|
||||
})
|
||||
.catch((err) => {
|
||||
console.error(err);
|
||||
setCommentCountCache(commentCountCache);
|
||||
!isReply && setCommentCountCache(commentCountCache);
|
||||
});
|
||||
this.setState({body: ''});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user