Resolves CMRC-627 **What** - If the session expired, and the user then navigated to a route with no loader the request for the user info in the sidebar would fail causing the app to crash as we didn't have an errorElement wrapping the app shell. - This PR adds a top level errorElement which handles errors that are outside of a page context, such as in the sidebar.
78 B
78 B
@medusajs/dashboard
| @medusajs/dashboard |
|---|
| patch |
fix(dashboard): Add global errorElement