Higher-Order Components docs withSubscription() example fix (#8694)

This commit is contained in:
Piotr Czajkowski authored and Dan Abramov committed 2017-01-05 04:56:13 -08:00
1 parent 39278c41e2
commit a52db12abf
1 file changed
+1 -1
+1 -1
View File
@@ -148,7 +148,7 @@ function withSubscription(WrappedComponent, selectData) {
handleChange() {
this.setState({
comments: selectData(DataSource, this.props)
data: selectData(DataSource, this.props)
});
}