@samitouri / QOS-React-2 / commits / a52db12abf

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

Piotr Czajkowski committed Jan 5, 2017 at 13:56 UTC a52db12abf303385fe438f5b15fe2d50076c31ed
1 file changed +1 -1
docs/docs/higher-order-components.md
+1 -1
@@ -148,7 +148,7 @@ function withSubscription(WrappedComponent, selectData) {
148
149 handleChange() {
150 this.setState({
151 - comments: selectData(DataSource, this.props)
151 + data: selectData(DataSource, this.props)
152 });
153 }
154