fix HOC doc (#8802)

This commit is contained in:
Superlaziness
2017-01-16 17:49:01 +03:00
committed by Dan Abramov
parent c77632791f
commit 66540fdf16

View File

@@ -72,8 +72,8 @@ Later, you write a component for subscribing to a single blog post, which follow
```js
class BlogPost extends React.Component {
constructor() {
super();
constructor(props) {
super(props);
this.handleChange = this.handleChange.bind(this);
this.state = {
blogPost: DataSource.getBlogPost(props.id)