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 e2b2ebe commit ef53563Copy full SHA for ef53563
README.md
@@ -307,7 +307,7 @@ function mapStateToProps(state) {
307
}
308
309
function mapDispatchToProps(dispatch) {
310
- return { addTodo: bindActionCreators(addTodo, dispatch) };
+ return bindActionCreators({ addTodo }, dispatch);
311
312
313
export default connect(mapStateToProps, mapDispatchToProps)(TodoApp);
0 commit comments