mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 17:34:59 +08:00
Correct Redux example with addNavigationHelpers (#24)
This commit is contained in:
@@ -20,10 +20,10 @@ const appReducer = combineReducers({
|
||||
class AppWithNavigationState extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<AppNavigator navigation={{
|
||||
<AppNavigator navigation={addNavigationHelpers({
|
||||
dispatch: this.props.dispatch,
|
||||
state: this.props.nav,
|
||||
}} />
|
||||
})} />
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user