diff --git a/app/(mentee)/(dashboard-route)/mentee-resources/page.tsx b/app/(mentee)/(dashboard-route)/mentee-resources/page.tsx index 3e306f4b..dafec6a4 100644 --- a/app/(mentee)/(dashboard-route)/mentee-resources/page.tsx +++ b/app/(mentee)/(dashboard-route)/mentee-resources/page.tsx @@ -97,7 +97,7 @@ const Resources = () => { Upload resource diff --git a/components/Community/ForumCard.tsx b/components/Community/ForumCard.tsx index 02e293fe..78f4618c 100644 --- a/components/Community/ForumCard.tsx +++ b/components/Community/ForumCard.tsx @@ -156,8 +156,8 @@ const Forum = ({ pathname === "/communities" ? "/communities" : pathname === "/mentor-community" - ? `/mentor-community/${slug}` - : `/mentee-community/${slug}` + ? `/mentor-community/${slug}?path=Communities` + : `/mentee-community/${slug}?path=Discussions` } className="text-xs text-center md:text-base border-solid border-[1px] p-4 md:py-5 md:px-10 w-full md:w-fit mx-auto border-NeutalBase rounded-lg font-medium font-Inter" onClick={(e) => { diff --git a/components/Community/MentorGrid.tsx b/components/Community/MentorGrid.tsx index 85c59d27..5173c366 100644 --- a/components/Community/MentorGrid.tsx +++ b/components/Community/MentorGrid.tsx @@ -55,10 +55,10 @@ const MentorGrid: React.FC = () => {
diff --git a/components/Community/mentorship-sessions.tsx b/components/Community/mentorship-sessions.tsx index ebe06bf1..adf993e2 100644 --- a/components/Community/mentorship-sessions.tsx +++ b/components/Community/mentorship-sessions.tsx @@ -21,8 +21,8 @@ const MentorshipSessions = () => { pathname === "/mentor-community" ? "/mentor-community/mentorships" : pathname === "/mentee-communities" - ? "/mentee-community/mentorships" - : "mentee-community/mentorships" + ? "/mentee-community/mentorships?path=Mentorship" + : "mentee-community/mentorships?path=Mentorship" }`} className="text-[.875rem] md:block md:text-[1rem] font-medium cursor-pointer text-Accent1 hover:underline" >