In the guide (v7.2) on page 176 there is the follo...
# guide
m
In the guide (v7.2) on page 176 there is the following: Find the <Routes> block in src/Routes.js and add it as the last line in that section.
Copy code
{ 
/* Finally, catch all unmatched routes */ 
}
<Route path="*" element={<NotFound />} />;
The code above makes it look like you are meant to include the curly braces and the "Finally..." comment in your Routes.js file as well which is not the case.
a
Comments in jsx need to be enclosed in curly braces. I personally don’t find this confusing 🤷🏼
m
Thanks for the clarification!