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

(cherry picked from commit a52db12abf)
This commit is contained in:
Piotr Czajkowski
2017-01-06 15:06:13 +00:00
committed by Dan Abramov
parent 8b51d9ec73
commit 5cdd66700b
+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)
});
}