Remove extra brace (#9910)
This commit is contained in:
parent
2d9d4f6349
commit
2b3a7df8d8
|
@ -119,7 +119,7 @@ const CommentListWithSubscription = withSubscription(
|
|||
const BlogPostWithSubscription = withSubscription(
|
||||
BlogPost,
|
||||
(DataSource, props) => DataSource.getBlogPost(props.id)
|
||||
});
|
||||
);
|
||||
```
|
||||
|
||||
The first parameter is the wrapped component. The second parameter retrieves the data we're interested in, given a `DataSource` and the current props.
|
||||
|
|
Loading…
Reference in New Issue