diff --git a/packages/react-navigation/src/routers/StackRouter.js b/packages/react-navigation/src/routers/StackRouter.js index 7a8fa811..45e1e16e 100644 --- a/packages/react-navigation/src/routers/StackRouter.js +++ b/packages/react-navigation/src/routers/StackRouter.js @@ -48,7 +48,7 @@ export default (routeConfigs, stackConfig = {}) => { const { initialRouteParams } = stackConfig; const getCustomActionCreators = - config.getCustomActionCreators || defaultActionCreators; + stackConfig.getCustomActionCreators || defaultActionCreators; const initialRouteName = stackConfig.initialRouteName || routeNames[0];