Convert LegalNoticesPage to Typescript

This commit is contained in:
T'JAMPENS QUENTIN p2406187 committed 2026-03-18 21:19:13 +01:00
1 parent 1ed62a198c
commit 12cfe9b63b
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -30,7 +30,7 @@ export default function Footer(): ReactNode{
Fiche RGPD
</Link>
<span className={styles.separator}></span>
<Link to="/legalNoticesPage" className={styles.link} onClick={scrollToTop}>
<Link to="/legalNotices" className={styles.link} onClick={scrollToTop}>
Mentions légales
</Link>
<span className={styles.separator}></span>
@@ -37,4 +37,4 @@ export default function legalNoticesPage() {
</section>
</div>
);
}
}
+1 -1
View File
@@ -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([