mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
Fix bad merge when CommentBox calls setCommentCountCache
This commit is contained in:
@@ -74,9 +74,9 @@ class CommentBox extends React.Component {
|
||||
notifyForNewCommentStatus(addNotification, postedComment.status);
|
||||
|
||||
if (postedComment.status === 'REJECTED') {
|
||||
!isReply && setCommentCountCache(assetId, commentCountCache);
|
||||
!isReply && setCommentCountCache(commentCountCache);
|
||||
} else if (postedComment.status === 'PREMOD') {
|
||||
!isReply && setCommentCountCache(assetId, commentCountCache);
|
||||
!isReply && setCommentCountCache(commentCountCache);
|
||||
}
|
||||
|
||||
if (commentPostedHandler) {
|
||||
|
||||
Reference in New Issue
Block a user