Remove extra brace (#9910)

This commit is contained in:
Mario Souto 2017-06-09 23:48:59 +02:00 committed by Brian Vaughn
parent 2d9d4f6349
commit 2b3a7df8d8
1 changed files with 1 additions and 1 deletions

View File

@ -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.