mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-27 03:08:06 +00:00
Update higher-order-components.md
This commit is contained in:
committed by
GitHub
parent
7c7b511c37
commit
f45d6f3925
@@ -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