It's fine to copy and paste so long as you go through the code thoroughly and understand what you are copying into your project. The errors have been copied from the workshop which is fine, however you didn't read the code and realise they are using error as the layout. Either change this to main or create an error layout. Be really careful in future when copying code. Double check things like error pages are working as well ⚠️
It's fine to copy and paste so long as you go through the code thoroughly and understand what you are copying into your project. The errors have been copied from the workshop which is fine, however you didn't read the code and realise they are using⚠️
erroras the layout. Either change this to main or create an error layout. Be really careful in future when copying code. Double check things like error pages are working as well