diff --git a/client/coral-plugin-likes/LikeButton.js b/client/coral-plugin-likes/LikeButton.js index d7a981e95..145080469 100644 --- a/client/coral-plugin-likes/LikeButton.js +++ b/client/coral-plugin-likes/LikeButton.js @@ -42,8 +42,8 @@ class LikeButton extends Component { if (currentUser.banned) { return; } - if (!liked) { - this.setState({localPost: 'temp', localDelete: false}); + if (!liked) { // this comment has not yet been liked by this user. + this.setState({localPost: 'temp'}); postLike({ item_id: id, item_type: 'COMMENTS' @@ -58,11 +58,7 @@ class LikeButton extends Component { return