Fix getCustomActionCreators in drawer navigator

This commit is contained in:
Eric Vicenti
2018-06-05 10:51:05 -07:00
parent 2d0d79643c
commit efb4df6d90

View File

@@ -50,6 +50,7 @@ const DrawerNavigator = (routeConfigs, config = {}) => {
paths,
initialRouteName,
backBehavior,
getCustomActionCreators,
...drawerConfig
} = mergedConfig;
@@ -58,6 +59,7 @@ const DrawerNavigator = (routeConfigs, config = {}) => {
paths,
initialRouteName,
backBehavior,
getCustomActionCreators,
};
const drawerRouter = DrawerRouter(routeConfigs, routerConfig);