Skip to content

Commit

Permalink
Docs: Fixes code example for API connect (#1413)
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanleung authored and timdorr committed Oct 2, 2019
1 parent 063c2ed commit d9c49fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api/connect.md
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ function mapStateToProps(state) {

const mapStateToProps = (state, ownProps = {}) => {
console.log(state) // state
console.log(ownProps) // {}
console.log(ownProps) // undefined
}
```
Expand Down

0 comments on commit d9c49fa

Please sign in to comment.