Skip to content

Commit ca5cd9c

Browse files
authored
Revert "Docs: Fixes code example for API connect (#1413)"
This reverts commit d9c49fa.
1 parent d9c49fa commit ca5cd9c

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) // undefined
584+
console.log(ownProps) // {}
585585
}
586586
```
587587

0 commit comments

Comments
 (0)