Code QuizIntermediate

Passing Params Back to Previous Screen

Spot why the previous screen never receives the returned data.

Codejavascript
function CreatePostScreen({ navigation }) {
  const submit = (title) => {
    navigation.goBack({ newTitle: title });
  };
}

What is the bug in this code?