From cb908028967b5bd3794f05fae285e9f60606485b Mon Sep 17 00:00:00 2001 From: Benjamin Goering Date: Thu, 11 May 2017 09:34:33 -0700 Subject: [PATCH] Fix bad merge when CommentBox calls setCommentCountCache --- client/coral-plugin-commentbox/CommentBox.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-plugin-commentbox/CommentBox.js b/client/coral-plugin-commentbox/CommentBox.js index f7f76161c..e703a3058 100644 --- a/client/coral-plugin-commentbox/CommentBox.js +++ b/client/coral-plugin-commentbox/CommentBox.js @@ -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) {