Rename PageNotFound page component files

This commit is contained in:
2026-03-12 14:59:40 +01:00
parent c829c65c52
commit 472cf3d988
3 changed files with 5 additions and 5 deletions
@@ -1,9 +1,9 @@
import Background from "../../components/Background/Background.jsx"; import Background from "../../components/Background/Background.jsx";
import styles from "./PageNotFound.module.css" import styles from "./PageNotFoundPage.module.css"
import { useNavigate } from "react-router"; import { useNavigate } from "react-router";
import { APP_CONFIG } from "../../config/appConfig.js"; import { APP_CONFIG } from "../../config/appConfig.js";
export default function PageNotFound() { export default function PageNotFoundPage() {
const navigate = useNavigate(); const navigate = useNavigate();
+3 -3
View File
@@ -8,7 +8,7 @@ import ProfilePage from "./pages/Profile/ProfilePage";
import EventsPage from "./pages/Events/EventsPage.jsx"; import EventsPage from "./pages/Events/EventsPage.jsx";
import AdminPage from "./pages/Admin/AdminPage.jsx"; import AdminPage from "./pages/Admin/AdminPage.jsx";
import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx"; import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx";
import PageNotFound from "./pages/PageNotFound/PageNotFound.jsx"; import PageNotFoundPage from "./pages/PageNotFound/PageNotFoundPage.jsx";
import eventDetail from "./pages/EventDetail/EventDetailPage.jsx"; import eventDetail from "./pages/EventDetail/EventDetailPage.jsx";
import legalNotices from "./pages/LegalNotices/LegalNoticesPage.jsx"; import legalNotices from "./pages/LegalNotices/LegalNoticesPage.jsx";
import RGPD from "./pages/RGPD/RGPD.jsx"; import RGPD from "./pages/RGPD/RGPD.jsx";
@@ -28,11 +28,11 @@ const router = createBrowserRouter([
}, },
{ {
path: "/*", path: "/*",
Component: PageNotFound, Component: PageNotFoundPage,
}, },
{ {
path: "/404", path: "/404",
Component: PageNotFound, Component: PageNotFoundPage,
}, },
{ {
path: "/", path: "/",