diff --git a/frontend/src/pages/_app.tsx b/frontend/src/pages/_app.tsx index 7de2e92ab..493e302e0 100644 --- a/frontend/src/pages/_app.tsx +++ b/frontend/src/pages/_app.tsx @@ -27,6 +27,7 @@ import { WorkspaceProvider } from "@app/context"; import { AppLayout } from "@app/layouts"; +import ErrorBoundaryWrapper from "@app/layouts/AppLayout/ErrorBoundary"; import { queryClient } from "@app/reactQuery"; import "nprogress/nprogress.css"; @@ -85,46 +86,50 @@ const App = ({ Component, pageProps, ...appProps }: NextAppProp): JSX.Element => !Component.requireAuth ) { return ( - - - - - - - - - - + + + + + + + + + + + + ); } const Layout = Component?.layout || AppLayout; return ( - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + ); };