Skip to content

Commit 0bbb126

Browse files
committed
Merge pull request #26 from jihchi/patch-1
Fix a small typo
2 parents baff262 + 7cc2024 commit 0bbb126

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ function mapDispatch(dispatch) {
293293
return { actions: bindActionCreators(actionCreators, dispatch) };
294294
}
295295

296-
export default connect(mapState, actionCreators)(TodoApp);
296+
export default connect(mapState, mapDispatch)(TodoApp);
297297
```
298298

299299
##### Inject `todos` and a specific action creator (`addTodo`)

0 commit comments

Comments
 (0)