I’m trying to complete the ‘Lesson Review’ for ‘The State Hook’.
But I keep getting the following error message:
“Oops! The test returned an error. Maybe you have a syntax error, or a typo. See full error.”
UPDATE - I ended up creating a React project, so I could get a better idea of what’s going on with the code. So after making some changes, the app does render, but I get an error page when I try to enter the name of a new task.
And when I click the ‘Run’ button on the Web page for the current lesson, I get the following error message:
"Manage the state of the title and description for a new task in your component. "
Not sure what that means exactly, I thought I just had to manage state for the ‘newTask’ object and the ‘allTasks’ array.