locale on ErrorBoundary #9886
Replies: 2 comments 1 reply
-
If you know the root loader didn't failed, you can use |
Beta Was this translation helpful? Give feedback.
-
Just a second after opening the discussion, I remembered that I'm on a react-router based framework, the locale in my case is stored inside the pathname like that: So I tried to use the Dunno if this is the right take, but it seems to work 👍🏻 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I'm working on a multi locale application, and I'm trying to localize the 404 response from the root ErrorBoundary, but I don't see a way to pass the detected locale there, I'm missing something?
Beta Was this translation helpful? Give feedback.
All reactions