Skip to content

Commit

Permalink
Docs: Fixes code example for API connect
Browse files Browse the repository at this point in the history
  • Loading branch information
duncanleung committed Oct 1, 2019
1 parent 063c2ed commit 186c42a
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 186c42a

Please sign in to comment.