diff --git a/README.md b/README.md index 897dd314f..97f2e0f33 100644 --- a/README.md +++ b/README.md @@ -262,6 +262,9 @@ export default function reducer(state = initialState, action = {}) { }; // ...other actions + + default: + return state; } } ``` @@ -323,6 +326,8 @@ class Routes extends React.Component { ); } } + +export default connect()(Routes); ``` ##### Step 4