Rename WaitValidation page component files
This commit is contained in:
+2
-2
@@ -1,11 +1,11 @@
|
||||
import styles from "./validationErrorPage.module.css"
|
||||
import styles from "./WaitValidationPage.module.css"
|
||||
import Background from "../../components/Background/Background.jsx";
|
||||
import Button from "../../components/ui/Button/Button";
|
||||
import { useContext } from "react";
|
||||
import { AuthContext } from "../../contexts/Auth/AuthContext.js";
|
||||
import { Navigate, useNavigate, Link } from "react-router";
|
||||
|
||||
export default function ValidationErrorPage() {
|
||||
export default function WaitValidationPage() {
|
||||
|
||||
const { logout, user } = useContext(AuthContext);
|
||||
const navigate = useNavigate();
|
||||
+2
-2
@@ -7,7 +7,7 @@ import VolunteersPage from "./pages/Volunteers/VolunteersPage";
|
||||
import ProfilePage from "./pages/Profile/ProfilePage";
|
||||
import EventsPage from "./pages/Events/EventsPage.jsx";
|
||||
import AdminPage from "./pages/Admin/AdminPage.jsx";
|
||||
import ValidationErrorPage from "./pages/waitValidationPage/ValidationErrorPage.jsx";
|
||||
import WaitValidationPage from "./pages/WaitValidation/WaitValidationPage.jsx";
|
||||
import PageNotFoundPage from "./pages/PageNotFound/PageNotFoundPage.jsx";
|
||||
import eventDetail from "./pages/EventDetail/EventDetailPage.jsx";
|
||||
import legalNotices from "./pages/LegalNotices/LegalNoticesPage.jsx";
|
||||
@@ -24,7 +24,7 @@ const router = createBrowserRouter([
|
||||
},
|
||||
{
|
||||
path: "/error/validation",
|
||||
Component: ValidationErrorPage
|
||||
Component: WaitValidationPage
|
||||
},
|
||||
{
|
||||
path: "/*",
|
||||
|
||||
Reference in New Issue
Block a user