@samitouri / QOS-React-2 / commits / 610b75a5b6

Update Like button example verbiage

Changes text "You unlike this" to "You liked this". Makes a bit more grammatical sense. Closes #2146.

Nick Merwin committed Sep 4, 2014 at 10:54 UTC 610b75a5b6e5a3d8826e06ee964198df47a2b1ef
1 file changed +1 -1
docs/docs/03-interactivity-and-dynamic-uis.md
+1 -1
@@ -22,7 +22,7 @@ var LikeButton = React.createClass({
22 this.setState({liked: !this.state.liked});
23 },
24 render: function() {
25 - var text = this.state.liked ? 'like' : 'unlike';
25 + var text = this.state.liked ? 'like' : 'haven\'t liked';
26 return (
27 <p onClick={this.handleClick}>
28 You {text} this. Click to toggle.