-
If I've got a nested error boundary, the root renders the , etc and the route has its own meta function export. Is there a way to provide a custom meta function for when there is an error? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
sergiodxa
Feb 23, 2022
Replies: 1 comment
-
The MetaFunction of the nested route will still run, so you can detect there if it was an error (it doesn't have data) and change the title. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
mattoni
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The MetaFunction of the nested route will still run, so you can detect there if it was an error (it doesn't have data) and change the title.