Convert LegalNoticesPage to Typescript
This commit is contained in:
@@ -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>
|
||||
|
||||
+1
-1
@@ -37,4 +37,4 @@ export default function legalNoticesPage() {
|
||||
</section>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user