Explore Library
Code QuizIntermediate

Navigating Between Screens

Find why the navigate call fails to move to another screen.

Codejavascript
function HomeScreen({ navigation }) {
  return (
    <Button
      title="Go to Details"
      onPress={() => navigation.navigate(DetailsScreen)}
    />
  );
}

What is the bug in this code?