From 1293939fdb952477953419e479f01fea7880612a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ravi=20S=2E=20R=C4=81mphal?= Date: Sat, 20 Oct 2018 19:00:47 -0700 Subject: [PATCH] fix typo --- src/App.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/App.js b/src/App.js index 5b72cc5..780939f 100644 --- a/src/App.js +++ b/src/App.js @@ -22,7 +22,7 @@ const mapStateToProps = state => { }; }; -const mapDispachToProps = dispatch => { +const mapDispatchToProps = dispatch => { return { onAgeUp: () => dispatch({ type: "AGE_UP", value: 1 }), onAgeDown: () => dispatch({ type: "AGE_DOWN", value: 1 }) @@ -30,5 +30,5 @@ const mapDispachToProps = dispatch => { }; export default connect( mapStateToProps, - mapDispachToProps + mapDispatchToProps )(App);