Fix bad merge when CommentBox calls setCommentCountCache

This commit is contained in:
Benjamin Goering
2017-05-11 09:34:33 -07:00
parent 1314f1972a
commit cb90802896
+2 -2
View File
@@ -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) {