We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0beaf7a commit c30949eCopy full SHA for c30949e
1 file changed
frontend/src/routes/__root.tsx
@@ -3,6 +3,7 @@ import { createRootRoute, Outlet } from "@tanstack/react-router"
3
import { TanStackRouterDevtools } from "@tanstack/react-router-devtools"
4
5
import NotFound from "@/components/Common/NotFound"
6
+import ErrorComponent from "@/components/Common/ErrorComponent"
7
8
export const Route = createRootRoute({
9
component: () => (
@@ -13,4 +14,5 @@ export const Route = createRootRoute({
13
14
</>
15
),
16
notFoundComponent: () => <NotFound />,
17
+ errorComponent: () => <ErrorComponent/>,
18
})
0 commit comments