diff --git a/frontend/src/component/App.tsx b/frontend/src/component/App.tsx
index f9d8b3c10c..4b3de13696 100644
--- a/frontend/src/component/App.tsx
+++ b/frontend/src/component/App.tsx
@@ -9,7 +9,6 @@ import Loader from 'component/common/Loader/Loader';
import NotFound from 'component/common/NotFound/NotFound';
import { ProtectedRoute } from 'component/common/ProtectedRoute/ProtectedRoute';
import { SWRProvider } from 'component/providers/SWRProvider/SWRProvider';
-import { PlausibleProvider } from 'component/providers/PlausibleProvider/PlausibleProvider';
import ToastRenderer from 'component/common/ToastRenderer/ToastRenderer';
import { routes } from 'component/menu/routes';
import { useAuthDetails } from 'hooks/api/getters/useAuth/useAuthDetails';
@@ -52,76 +51,64 @@ export const App = () => {
return (
-
-
-
- }>
- }
- elseShow={
-
- <>
- }
- />
-
-
-
-
-
-
- {availableRoutes.map(
- (route) => (
-
-
-
- }
+
+ }>
+ }
+ elseShow={
+
+ <>
+ }
+ />
+
+
+
+
+
+
+ {availableRoutes.map((route) => (
+
+
- ),
- )}
-
- }
- />
- }
- />
-
+
+ }
+ />
+ ))}
+ }
+ />
+ }
+ />
+
-
+
-
-
- >
-
- }
- />
-
-
-
-
+
+
+ >
+
+ }
+ />
+
+
);
};
diff --git a/frontend/src/index.tsx b/frontend/src/index.tsx
index 777af87ebe..8888dfc760 100644
--- a/frontend/src/index.tsx
+++ b/frontend/src/index.tsx
@@ -16,7 +16,10 @@ import { AnnouncerProvider } from 'component/common/Announcer/AnnouncerProvider/
import { InstanceStatus } from 'component/common/InstanceStatus/InstanceStatus';
import { UIProviderContainer } from 'component/providers/UIProvider/UIProviderContainer';
import { StickyProvider } from 'component/common/Sticky/StickyProvider';
-import { FeedbackProvider } from './component/feedbackNew/FeedbackProvider';
+import { FeedbackProvider } from 'component/feedbackNew/FeedbackProvider';
+import { PlausibleProvider } from 'component/providers/PlausibleProvider/PlausibleProvider';
+import { Error as LayoutError } from './component/layout/Error/Error';
+import { ErrorBoundary } from 'react-error-boundary';
window.global ||= window;
@@ -27,16 +30,20 @@ ReactDOM.render(
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+