mirror of
https://github.com/wassname/talk.git
synced 2026-10-02 12:50:49 +08:00
Add missing check
This commit is contained in:
1 parent
d3b81dff35
commit
e9331e90d3
1 file changed
+1
-1
@@ -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