diff --git a/app/root.tsx b/app/root.tsx index d592928..dc1f541 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -17,7 +17,6 @@ import { Meta, Outlet, Scripts, - useCatch, useLoaderData, useRouteError, } from "@remix-run/react"; @@ -30,7 +29,7 @@ import { type ReactNode, StrictMode, useContext, useEffect } from "react"; import theme from "../theme.js"; import { withEmotionCache } from "@emotion/react"; -export function CatchBoundary() { +export function ErrorBoundary() { const error = useRouteError() as ErrorResponse; if (!isRouteErrorResponse(error)) @@ -46,7 +45,7 @@ export function CatchBoundary() { Details: {error}

- + location.reload()}> Refresh