We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents baff262 + 7cc2024 commit 0bbb126Copy full SHA for 0bbb126
README.md
@@ -293,7 +293,7 @@ function mapDispatch(dispatch) {
293
return { actions: bindActionCreators(actionCreators, dispatch) };
294
}
295
296
-export default connect(mapState, actionCreators)(TodoApp);
+export default connect(mapState, mapDispatch)(TodoApp);
297
```
298
299
##### Inject `todos` and a specific action creator (`addTodo`)
0 commit comments