diff --git a/src/views/Drawer/DrawerScreen.js b/src/views/Drawer/DrawerScreen.js index d67c3e5159..e79e05f376 100644 --- a/src/views/Drawer/DrawerScreen.js +++ b/src/views/Drawer/DrawerScreen.js @@ -30,7 +30,7 @@ class DrawerScreen extends PureComponent { const { router, navigation, childNavigationProps } = this.props; const { routes, index } = navigation.state; const childNavigation = childNavigationProps[routes[index].key]; - const Content = router.getComponentForState(navigation.state); + const Content = router.getComponentForRouteName(routes[index].routeName); return (