Skip to content

Commit

Permalink
matched with latest updates
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsarMahir committed Sep 15, 2024
2 parents b635310 + 1fce7a0 commit 70d5d09
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/pages/MentorProfile/MentorProfile.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@ const MentorProfile: React.FC = () => {
.catch(() => {});
};

const approvedMenteesCount = mentor?.mentees

const approvedMenteesCount = mentor?.mentees
? mentor.mentees.filter(
(mentee) => mentee.state === ApplicationStatus.APPROVED
).length
Expand Down

0 comments on commit 70d5d09

Please sign in to comment.