diff --git a/src/pages/404.tsx b/src/pages/404.tsx index d3e5a77..f2db88b 100644 --- a/src/pages/404.tsx +++ b/src/pages/404.tsx @@ -1,4 +1,4 @@ -import { Link, useRouteError } from 'react-router-dom' +import { Link, useLocation, useRouteError } from 'react-router-dom' import { appRoutes } from 'routes' interface NotFoundPageProps { @@ -12,6 +12,8 @@ export const NotFoundPage = ({ }: Partial) => { const error = useRouteError() as Partial + const location = useLocation() + return (
@@ -23,7 +25,19 @@ export const NotFoundPage = ({

{error?.message || message}

-
+
+ + Try again +