diff --git a/app/components/error-boundary/error.tsx b/app/components/error-boundary/error.tsx index 812769f2e..801dd79bd 100644 --- a/app/components/error-boundary/error.tsx +++ b/app/components/error-boundary/error.tsx @@ -1,14 +1,17 @@ import { Button } from "../button"; -export function Error({ error, children }: { error: Error; children?: React.ReactNode }) { +export function Error() { return ( -
-
-

500 Error

-

Welp, something broke. This shouldn't be happening

- - {children} -
+
+

+ Ooops! +

+

something went wrong

+ +

It seems you've ventured too deep

+
); } diff --git a/app/root.tsx b/app/root.tsx index bb2cce2f8..2d942979e 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -164,11 +164,6 @@ function App() { export default withSentry(App, { errorBoundaryOptions: { - fallback: ({ error }) => ( -
- - -
- ), + fallback: , }, }); diff --git a/public/img/error.png b/public/img/error.png new file mode 100644 index 000000000..f7375940a Binary files /dev/null and b/public/img/error.png differ