Skip to content

Commit de5840c

Browse files
authored
Update higher-order-components.md
1 parent 4fb0424 commit de5840c

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)