From 7dc56f836fae99bcffa2256b754c670e9442dcc7 Mon Sep 17 00:00:00 2001 From: GitLukeW Date: Sun, 17 Sep 2023 19:24:49 -0400 Subject: [PATCH] moved mentee sessions to profile --- src/App.js | 11 ---------- src/components/NavBar.js | 21 +++++++------------ src/pages/Profile/ProfileMentee.js | 2 ++ src/pages/SessionSignup/SessionSignup.js | 3 +-- src/pages/Sessions/MenteeCanceled.js | 8 +++---- src/pages/Sessions/MenteeRequest.js | 8 +++---- src/pages/Sessions/MenteeScheduled.js | 8 +++---- .../{MenteeSessions.js => MenteeSessions.jsx} | 6 ++---- 8 files changed, 25 insertions(+), 42 deletions(-) rename src/pages/Sessions/{MenteeSessions.js => MenteeSessions.jsx} (90%) diff --git a/src/App.js b/src/App.js index 60dd654..205fe9b 100644 --- a/src/App.js +++ b/src/App.js @@ -9,7 +9,6 @@ import Profile from "./pages/Register/Profile"; import EditProfile from "./pages/Profile/EditProfile"; import MentorSessions from "./pages/Sessions/MentorSessions"; import SessionSignup from "./pages/SessionSignup/SessionSignup"; -import MenteeSessions from "./pages/Sessions/MenteeSessions"; import TimeSlot from "./pages/Profile/TimeSlot"; import CurrentAvailabilities from "./pages/Profile/Current Availabilities"; import { Routes, Route } from "react-router-dom"; @@ -149,16 +148,6 @@ function App() { /> } /> - - } - /> { @@ -73,15 +72,6 @@ const NavBar = ({ handleLogout, isLoggedIn, token, loading }) => { Mentor Sessions )} - {isMentee && ( - - Mentee Sessions - - )} { )} - +

Momentum Mentors

@@ -128,7 +123,7 @@ const NavBar = ({ handleLogout, isLoggedIn, token, loading }) => { ) : ( - + {loading ? (