Remove extra brace (#9910)
Mario Souto committed
Jun 9, 2017 at 23:48 UTC
2b3a7df8d885c2ae459c2860f9227c9588b76d98
1 file changed
+1
-1
docs/docs/higher-order-components.md
+1
-1
@@ -119,7 +119,7 @@ const CommentListWithSubscription = withSubscription(
119
const BlogPostWithSubscription = withSubscription(
120
BlogPost,
121
(DataSource, props) => DataSource.getBlogPost(props.id)
122
-});
122
+);
123
```
124
125
The first parameter is the wrapped component. The second parameter retrieves the data we're interested in, given a `DataSource` and the current props.