mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-04-29 04:45:19 +08:00
Fix stackConfig typo
This commit is contained in:
@@ -48,7 +48,7 @@ export default (routeConfigs, stackConfig = {}) => {
|
|||||||
|
|
||||||
const { initialRouteParams } = stackConfig;
|
const { initialRouteParams } = stackConfig;
|
||||||
const getCustomActionCreators =
|
const getCustomActionCreators =
|
||||||
config.getCustomActionCreators || defaultActionCreators;
|
stackConfig.getCustomActionCreators || defaultActionCreators;
|
||||||
|
|
||||||
const initialRouteName = stackConfig.initialRouteName || routeNames[0];
|
const initialRouteName = stackConfig.initialRouteName || routeNames[0];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user