diff --git a/app/root.tsx b/app/root.tsx index bd5ce9c..01bf92c 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -64,42 +64,32 @@ export function ErrorBoundary() { const routing = isRouteErrorResponse(error) const message = (error instanceof Error ? error.message : 'An unexpected error occurred') return ( - - - Oh no! - - - - -
-
- {routing ? ( - <> - -

{error.status}

-

{error.statusText}

- - ) : ( - <> - -

Error

- - {message} - -

- If you are the administrator of this site, please check your logs for information. -

- - )} -
-
- - - +
+
+ {routing ? ( + <> + +

{error.status}

+

{error.statusText}

+ + ) : ( + <> + +

Error

+ + {message} + +

+ If you are the administrator of this site, please check your logs for information. +

+ + )} +
+
) } diff --git a/app/routes/_data.tsx b/app/routes/_data.tsx index 1f30d7f..aa671cd 100644 --- a/app/routes/_data.tsx +++ b/app/routes/_data.tsx @@ -53,7 +53,6 @@ export default function Layout() {
- ) }