Correct tiny typo (#20)

This commit is contained in:
Hilke Heremans 2017-01-27 08:40:26 +01:00 committed by Eric Vicenti
parent 7441ecad05
commit c9a69b48ee

View File

@ -14,9 +14,9 @@ const appReducer = combineReducers({
...
});
@connect(state => {
@connect(state => ({
nav: state.nav,
})
}))
class AppWithNavigationState extends React.Component {
render() {
return (
@ -43,4 +43,4 @@ class App extends React.Component {
Now, your navigation state is stored with redux, and you can fire navigation actions using redux.
When a navigator is given a `navigation` prop, it relinquishes control of the state. So you are now responsible for persisting state, handling deep linking, integrating the back button, etc.
When a navigator is given a `navigation` prop, it relinquishes control of the state. So you are now responsible for persisting state, handling deep linking, integrating the back button, etc.