Skip to content

Commit 60235ad

Browse files
authored
Merge pull request #413 from R45H/patch-9
Update higher-order-components.md
2 parents 4fb0424 + de5840c commit 60235ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/docs/higher-order-components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const BlogPostWithSubscription = withSubscription(
127127
Когда `CommentListWithSubscription` и `BlogPostWithSubscription` рендерятся, они передают в `CommentList` и `BlogPost` обновлённые данные `DataSource` через проп `data`:
128128

129129
```js
130-
// Это функция принимает компонент...
130+
// Эта функция принимает компонент...
131131
function withSubscription(WrappedComponent, selectData) {
132132
// ...и возвращает другой компонент...
133133
return class extends React.Component {

0 commit comments

Comments
 (0)