Explore Library
Code QuizIntermediate

Configuring Initial Route

Spot the prop mistake that ignores the desired starting screen.

Codejavascript
<Stack.Navigator initialRoute="Profile">
  <Stack.Screen name="Home" component={HomeScreen} />
  <Stack.Screen name="Profile" component={ProfileScreen} />
</Stack.Navigator>

What is the bug in this code?