From ff79e7e1f53821c7b1b9ed04b5cf9dadc80c7ded Mon Sep 17 00:00:00 2001 From: Diptesh Choudhuri Date: Tue, 2 Jul 2024 07:03:51 +0530 Subject: [PATCH] fix(frontend): bring back error layout --- apps/frontend/app/root.tsx | 70 ++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/apps/frontend/app/root.tsx b/apps/frontend/app/root.tsx index fb1ab96c22..d203493e86 100644 --- a/apps/frontend/app/root.tsx +++ b/apps/frontend/app/root.tsx @@ -1,3 +1,4 @@ +import { $path } from "@ignisda/remix-routes"; import { ActionIcon, Alert, @@ -14,6 +15,7 @@ import { type MetaFunction, unstable_defineLoader, } from "@remix-run/node"; +import { Form } from "@remix-run/react"; import { Links, Meta, @@ -161,37 +163,37 @@ export default function App() { ); } -// export function ErrorBoundary() { -// return ( -// -// -// -// -// -// -// -//
-// We encountered an error. If you recently upgraded the server, you may -// have to logout and login again. If the error still persists, please -// create a new issue on{" "} -// -// GitHub -// -// . -//
-//
-// -//
-// -// -// -// ); -// } +export function ErrorBoundary() { + return ( + + + + + + + +
+ We encountered an error. If you recently upgraded the server, you may + have to logout and login again. If the error still persists, please + create a new issue on{" "} + + GitHub + + . +
+
+ +
+ + + + ); +}