Update 03-interactivity-and-dynamic-uis.md (#6972)

This commit is contained in:
segmentationfaulter
2016-07-13 13:14:41 -07:00
committed by Paul O’Shannessy
parent 2da50a0f18
commit bf0572dde7
@@ -23,7 +23,7 @@ class LikeButton extends React.Component {
this.setState({liked: !this.state.liked});
}
render() {
const text = this.state.liked ? 'like' : 'haven\'t liked';
const text = this.state.liked ? 'liked' : 'haven\'t liked';
return (
<div onClick={this.handleClick}>
You {text} this. Click to toggle.