File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
import type { Meta , StoryObj } from "@storybook/react" ;
2
- import { GlobalErrorBoundaryInner } from "./GlobalErrorBoundary " ;
2
+ import { expect , userEvent } from "@storybook/test " ;
3
3
import { within } from "@testing-library/react" ;
4
4
import type { ErrorResponse } from "react-router-dom" ;
5
- import { expect , userEvent } from "@storybook/test " ;
5
+ import { GlobalErrorBoundaryInner } from "./GlobalErrorBoundary " ;
6
6
7
7
/**
8
8
* React Router ErrorResponses have a "hidden" internal field that RR uses to
Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ import type { Interpolation } from "@emotion/react";
11
11
import Link from "@mui/material/Link" ;
12
12
import { Button } from "components/Button/Button" ;
13
13
import { useEmbeddedMetadata } from "hooks/useEmbeddedMetadata" ;
14
- import { useState , type FC } from "react" ;
14
+ import { type FC , useState } from "react" ;
15
15
import { Helmet } from "react-helmet-async" ;
16
16
import {
17
+ type ErrorResponse ,
17
18
isRouteErrorResponse ,
18
19
useLocation ,
19
20
useRouteError ,
20
- type ErrorResponse ,
21
21
} from "react-router-dom" ;
22
22
23
23
const errorPageTitle = "Something went wrong" ;
Original file line number Diff line number Diff line change
1
+ import { GlobalErrorBoundary } from "components/ErrorBoundary/GlobalErrorBoundary" ;
1
2
import { TemplateRedirectController } from "pages/TemplatePage/TemplateRedirectController" ;
2
3
import { Suspense , lazy } from "react" ;
3
4
import {
@@ -22,7 +23,6 @@ import { UsersLayout } from "./pages/UsersPage/UsersLayout";
22
23
import UsersPage from "./pages/UsersPage/UsersPage" ;
23
24
import { WorkspaceSettingsLayout } from "./pages/WorkspaceSettingsPage/WorkspaceSettingsLayout" ;
24
25
import WorkspacesPage from "./pages/WorkspacesPage/WorkspacesPage" ;
25
- import { GlobalErrorBoundary } from "components/ErrorBoundary/GlobalErrorBoundary" ;
26
26
27
27
// Lazy load pages
28
28
// - Pages that are secondary, not in the main navigation or not usually accessed
You can’t perform that action at this time.
0 commit comments