mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Merge pull request #8927 from mitenka/patch-5
Update higher-order-components.md
(cherry picked from commit b49611e643)
This commit is contained in:
committed by
Dan Abramov
parent
aff32728ca
commit
2a644ae7ae
@@ -95,7 +95,7 @@ class BlogPost extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
return <BlogPost blogPost={this.state.blogPost} />;
|
||||
return <TextBlock text={this.state.blogPost} />;
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user