79519818

Date: 2025-03-19 10:05:33
Score: 3.5
Natty:
Report link

i have the same problem with this code of mine

    <Stack.Navigator
      initialRouteName={Routes.Login}
      screenOptions={{header: () => {}}}>
      <Stack.Screen name={Routes.SignIn} component={SingIn} />
      <Stack.Screen name={Routes.Login} component={Login} />;
    </Stack.Navigator>

mine problem was the ;

<Stack.Navigator
  initialRouteName={Routes.Login}
  screenOptions={{header: () => {}}}>
  <Stack.Screen name={Routes.SignIn} component={SingIn} />
  <Stack.Screen name={Routes.Login} component={Login} />;<---- HERE
</Stack.Navigator>

and i just delete it and it went back to normal

Reasons:
  • Blacklisted phrase (1): i have the same problem
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Me too answer (2.5): i have the same problem
  • Low reputation (1):
Posted by: Frentzen Chan