Skip to content

Commit d9c49fa

Browse files
duncanleungtimdorr
authored andcommitted
Docs: Fixes code example for API connect (#1413)
1 parent 063c2ed commit d9c49fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/connect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ function mapStateToProps(state) {
581581

582582
const mapStateToProps = (state, ownProps = {}) => {
583583
console.log(state) // state
584-
console.log(ownProps) // {}
584+
console.log(ownProps) // undefined
585585
}
586586
```
587587

0 commit comments

Comments
 (0)