Commit 33ee1a2
authored
Update API documentation
I believe the documentation mistakenly references `mapDispatchToProps` when it means `mapStateToProps`. Users should pass `null` as the first argument (i.e. to `mapStateToProps` if they don't want to subscribe to store state), but still can get `dispatch` injected using `mapDispatchToProps`. This commit fixes this reference.1 parent 79bf2f3 commit 33ee1a2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
| 61 | + | |
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| |||
0 commit comments