From aee46d190254c451b35937c22bc513327b034def Mon Sep 17 00:00:00 2001 From: Daniel Hougaard Date: Fri, 20 Sep 2024 15:17:20 +0400 Subject: [PATCH] cleanup --- frontend/src/layouts/AppLayout/ErrorBoundary.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx b/frontend/src/layouts/AppLayout/ErrorBoundary.tsx index eb6ccd4f9..018287649 100644 --- a/frontend/src/layouts/AppLayout/ErrorBoundary.tsx +++ b/frontend/src/layouts/AppLayout/ErrorBoundary.tsx @@ -17,10 +17,6 @@ const ErrorPage = ({ error }: { error: Error | null }) => { const router = useRouter(); const currentUrl = router?.asPath?.split("?")?.[0]; - error = new Error( - "e26eabc714f1/secrets/dev, error on line 45: Cannot read property 'split' of undefinede26eabc714f1/secrets/dev, error on line 45: Cannot read property 'split' of undefinede26eabc714f1/secrets/dev, error on line 45: Cannot read property 'split' of undefinede26eabc714f1/secrets/dev, error on line 45: Cannot read property 'split' of undefinede26eabc714f1/secrets/dev, error on line 45: Cannot read property 'split' of undefinede26eabc714f1/secrets/dev, error on line 45: Cannot read property 'split' of undefined" - ); - return (
@@ -89,7 +85,7 @@ class ErrorBoundary extends React.Component; } return children;