Skip to content
This repository was archived by the owner on Jan 18, 2022. It is now read-only.

Commit ae81b3a

Browse files
committed
Fix example in README
1 parent dead8ac commit ae81b3a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,10 @@ const appReducer = combineReducers({
5757

5858
// Note: createReactNavigationReduxMiddleware must be run before createReduxContainer
5959
const middleware = createReactNavigationReduxMiddleware(
60-
"root",
6160
state => state.nav,
6261
);
6362

64-
const App = createReduxContainer(AppNavigator, "root");
63+
const App = createReduxContainer(AppNavigator);
6564
const mapStateToProps = (state) => ({
6665
state: state.nav,
6766
});

0 commit comments

Comments
 (0)