diff --git a/src/App.js b/src/App.js index 5b72cc5..9191780 100644 --- a/src/App.js +++ b/src/App.js @@ -16,7 +16,7 @@ class App extends Component { } } -const mapStateToProps = state => { +const mapStateToProps = (state = {age: 21,}) => { return { age: state.age };