From 1b4c2bc64a2a2cb0fd7e6b5eff854c0c5a301b71 Mon Sep 17 00:00:00 2001 From: faty <145115890+fatoumatad223@users.noreply.github.com> Date: Mon, 29 Jul 2024 12:28:50 +0200 Subject: [PATCH] correction page erreur --- src/pages/Error.jsx | 2 +- src/pages/Location.jsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Error.jsx b/src/pages/Error.jsx index 68d0bfb..1e31757 100644 --- a/src/pages/Error.jsx +++ b/src/pages/Error.jsx @@ -12,7 +12,7 @@ function Error() {

404

-

Oups! La page que vous demandez n'hésite pas

+

Oups! La page que vous demandez n'existe pas

Retourner sur la page d'accueil
diff --git a/src/pages/Location.jsx b/src/pages/Location.jsx index b21e5f5..efa4e79 100644 --- a/src/pages/Location.jsx +++ b/src/pages/Location.jsx @@ -19,7 +19,7 @@ const Location = () => { // Get the userId param from the URL. let { id } = useParams(); - const navigate = useNavigate(); + // const navigate = useNavigate(); const logement = Dataloges.find((element) => element.id == id)