Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: added footer to UserProfile.jsx and removed footer from Events.jsx #1169

Merged
merged 2 commits into from
Nov 17, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
60 changes: 26 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions src/pages/Event/AllEvents/Events.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import React, { useEffect } from "react";
import Footer from "../../../components/Footer/Footer";
import Navbar from "../../../components/Navbar/Navbar";
import ComingSoon from "../../../components/Cards/ComingSoon/ComingSoon";
import ComponentHelmet from "../../../utils/ComponentHelmet";
Expand All @@ -14,7 +13,6 @@ const Events = () => {
<ComponentHelmet type="Events" />
<Navbar />
<ComingSoon launchitem={`event's page.`} />
<Footer />
</>
);
};
Expand Down
3 changes: 3 additions & 0 deletions src/pages/User/UserProfile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import "swiper/css";
import "swiper/css/pagination";
import "swiper/css/autoplay";
import "swiper/css/navigation";
import Footer from "../../components/Footer/Footer";
import { Pagination, Autoplay, Navigation } from "swiper/modules";
import { Logout } from "../../service/MilanApi";
import { useNavigate, useParams } from "react-router-dom";
Expand Down Expand Up @@ -383,6 +384,8 @@ const UserProfile = () => {
)}
</div>
</div>

<Footer />
</>
);
};
Expand Down