From 12cfe9b63b0657a40341574dbc92c67e7187a778 Mon Sep 17 00:00:00 2001 From: T'JAMPENS QUENTIN p2406187 Date: Wed, 18 Mar 2026 21:19:13 +0100 Subject: [PATCH] Convert LegalNoticesPage to Typescript --- src/components/Footer/Footer.tsx | 2 +- .../LegalNotices/{LegalNoticesPage.jsx => LegalNoticesPage.tsx} | 2 +- src/router.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename src/pages/LegalNotices/{LegalNoticesPage.jsx => LegalNoticesPage.tsx} (99%) diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index 06d5ca8..a25704a 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -30,7 +30,7 @@ export default function Footer(): ReactNode{ Fiche RGPD - + Mentions légales diff --git a/src/pages/LegalNotices/LegalNoticesPage.jsx b/src/pages/LegalNotices/LegalNoticesPage.tsx similarity index 99% rename from src/pages/LegalNotices/LegalNoticesPage.jsx rename to src/pages/LegalNotices/LegalNoticesPage.tsx index 4adf1a0..38aa86d 100644 --- a/src/pages/LegalNotices/LegalNoticesPage.jsx +++ b/src/pages/LegalNotices/LegalNoticesPage.tsx @@ -37,4 +37,4 @@ export default function legalNoticesPage() { ); -} \ No newline at end of file +} diff --git a/src/router.js b/src/router.js index 418bf47..e17bf44 100644 --- a/src/router.js +++ b/src/router.js @@ -10,7 +10,7 @@ import AdminPage from "./pages/Admin/AdminPage.jsx"; import WaitValidationPage from "./pages/WaitValidation/WaitValidationPage.jsx"; import PageNotFoundPage from "./pages/PageNotFound/PageNotFoundPage.jsx"; import eventDetail from "./pages/EventDetail/EventDetailPage.tsx"; -import legalNotices from "./pages/LegalNotices/LegalNoticesPage.jsx"; +import legalNotices from "./pages/LegalNotices/LegalNoticesPage.tsx"; import RGPDPage from "./pages/RGPD/RGPDPage.jsx"; const router = createBrowserRouter([