Code QuizIntermediate

Navigating to Nested Screen

Find why navigating to a nested screen throws a route error.

Codejavascript
// HomeTab contains a stack with a 'Details' screen
navigation.navigate('Details', { id: 5 });

// Error: the action 'NAVIGATE' with payload 'Details' was not handled

What is the correct way to navigate to the nested Details screen?