Skip to content

Commit

Permalink
Show the undergraduate details part of the form by default (sef-globa…
Browse files Browse the repository at this point in the history
  • Loading branch information
Madhawa97 authored Jul 19, 2024
1 parent 00e81f3 commit b485c58
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pages/MenteeRegistration/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const MenteeRegistration: React.FC = () => {
email: user?.primary_email,
profilePic: user?.image_url,
mentorId,
isUndergrad: true,
},
});
const { error: mentorsError, data: mentors } = usePublicMentors(null);
Expand Down Expand Up @@ -143,6 +144,12 @@ const MenteeRegistration: React.FC = () => {
<form className="space-y-4" onSubmit={handleSubmit(onSubmit)}>
{currentStep === 0 && (
<>
<div className="flex mb-6">
<div className="flex-shrink-0 w-1 bg-yellow-500 rounded-l-lg"></div>
<div className="bg-yellow-100 text-yellow-800 p-4 rounded-r-lg flex-grow">
<p>You can apply only for one mentor at a time.</p>
</div>
</div>
<div className="text-xl font-medium mb-2">Personal Information</div>
<hr />
<div className="relative">
Expand Down

0 comments on commit b485c58

Please sign in to comment.