diff --git a/src/pages/error.tsx b/src/pages/error.tsx index 0ef4f79..8772de7 100644 --- a/src/pages/error.tsx +++ b/src/pages/error.tsx @@ -1,16 +1,23 @@ +import { Button } from "@/components/ui/button"; import { useRouteErrorMessage } from "@/hooks/use-route-error-message"; +import Page from "@/layout/page"; +import { Link } from "react-router-dom"; export default function ErrorPage() { const error = useRouteErrorMessage(); console.error(error); return ( -
-

Oops!

+

Sorry, an unexpected error has occurred.

{error}

-
+ + ); } diff --git a/src/pages/no-match.tsx b/src/pages/no-match.tsx index 671e713..6fbbcb3 100644 --- a/src/pages/no-match.tsx +++ b/src/pages/no-match.tsx @@ -7,7 +7,9 @@ export function NoMatch() { Page not found. );