Rename RGPD page component files

This commit is contained in:
2026-03-12 15:01:54 +01:00
parent c0851883e3
commit 4922b27975
3 changed files with 4 additions and 4 deletions
@@ -1,7 +1,7 @@
import styles from "./RGPD.module.css";
import styles from "./RGPDPage.module.css";
import {Link} from "react-router";
export default function RGPD() {
export default function RGPDPage() {
return (
<div className={`${styles.RGPD} glassCard`}>
<h1> Fiche d'informatino RGPD </h1>
+2 -2
View File
@@ -11,7 +11,7 @@ import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.
import PageNotFoundPage from "./pages/PageNotFound/PageNotFoundPage.jsx";
import eventDetail from "./pages/EventDetail/EventDetailPage.jsx";
import legalNotices from "./pages/LegalNotices/LegalNoticesPage.jsx";
import RGPD from "./pages/RGPD/RGPD.jsx";
import RGPDPage from "./pages/RGPD/RGPDPage.jsx";
const router = createBrowserRouter([
{
@@ -72,7 +72,7 @@ const router = createBrowserRouter([
},
{
path: "/rgpd",
Component: RGPD,
Component: RGPDPage,
},
]
}