I get the name of a screen like this :
const initialScreen =
currentStep === ESteps.ONBOARDING_COMPLETE
? 'CheckSteps'
: (currentStep as keyof RootStackParamList);
and I wanted to implement it then as initialRoutename :
<SignUpStack.Navigator initialRouteName={initialScreen} headerMode="screen">
<SignUpStack.Screen
name="CheckSteps"
component={CheckSteps}
options={{
...
I retrieve the name of the screen, but it absolutely does not redirect me ... You would know why or how to do it?