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.
1 parent 59f543b commit 7cc2024Copy full SHA for 7cc2024
README.md
@@ -285,7 +285,7 @@ function mapDispatch(dispatch) {
285
return { actions: bindActionCreators(actionCreators, dispatch) };
286
}
287
288
-export default connect(mapState, actionCreators)(TodoApp);
+export default connect(mapState, mapDispatch)(TodoApp);
289
```
290
291
##### Inject `todos` and a specific action creator (`addTodo`)
0 commit comments