Skip to content

Commit

Permalink
Fix like/dislike button (#953)
Browse files Browse the repository at this point in the history
* ✨ Fix like/dislike button

* Update feedback!

* My commits linked to the wrong user!

* Update feedback!

* Update feedback!
  • Loading branch information
k7un authored and madhavrathi committed Dec 15, 2017
1 parent 75c0ef9 commit 1950e9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/ChatApp/MessageListItem/Feedback.react.js
Expand Up @@ -47,7 +47,7 @@ class Feedback extends React.Component {
case 'positive':{
this.setState({
ratingGiven: true,
positive: true,
positive: !this.state.positive,
negative: false,
});
break;
Expand All @@ -56,7 +56,7 @@ class Feedback extends React.Component {
this.setState({
ratingGiven: true,
positive: false,
negative: true,
negative: !this.state.negative,
});
break;
}
Expand Down

0 comments on commit 1950e9b

Please sign in to comment.