I am using React Navigation 5 with React Native. I have a drawer with two screen each is a stack navigator by itself. My setup is as follows:
<Drawer.Navigator
initialRouteName='Balance'
drawerType='slide'
drawerContentOptions={drawerOption}
drawerContent={drawerContent}
>
<Drawer.Screen
name='Home'
component={UserStackScreen}
/>
<Drawer.Screen name='Balance' component={BalanceStackScreen} />
</Drawer.Navigator>
When i load the app i am routed to the home screen not to the balance screen although my initialRouteName='Balance' Thank you