Browse Source

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

main
Piotr Czajkowski 8 years ago
committed by Dan Abramov
parent
commit
76a149320b
  1. 2
      docs/higher-order-components.md

2
docs/higher-order-components.md

@ -148,7 +148,7 @@ function withSubscription(WrappedComponent, selectData) {
handleChange() {
this.setState({
comments: selectData(DataSource, this.props)
data: selectData(DataSource, this.props)
});
}

Loading…
Cancel
Save