Rename RGPD page component files
This commit is contained in:
@@ -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
@@ -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,
|
||||
},
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user