You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because, the docs says that this line will return an empty array: console.log(invoice); // Invoice is an empty array []
But when the UUID doesn't exist, it throws an errors instead an empty array.
Is there any context that might help us understand?
I've downloaded the template the last week so everything should be updated.
Does the docs page already exist? Please link to it.
What is the update you wish to see?
After complete the part of Handling all errors with error.tsx, if you follow the instructions of Handling 404 errors with the notFound function, you won't get any 404 page.
This is because, the docs says that this line will return an empty array:
console.log(invoice); // Invoice is an empty array []
But when the UUID doesn't exist, it throws an errors instead an empty array.
Is there any context that might help us understand?
I've downloaded the template the last week so everything should be updated.
Does the docs page already exist? Please link to it.
https://nextjs.org/learn/dashboard-app/error-handling
The text was updated successfully, but these errors were encountered: