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

This commit is contained in:
Piotr Czajkowski
2017-01-05 04:56:13 -08:00
committed by Dan Abramov
parent 39278c41e2
commit a52db12abf
+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)
});
}