diff --git a/src/components/MenteeApplication/MenteeApplication.component.tsx b/src/components/MenteeApplication/MenteeApplication.component.tsx index 865c4680..c543c0d7 100644 --- a/src/components/MenteeApplication/MenteeApplication.component.tsx +++ b/src/components/MenteeApplication/MenteeApplication.component.tsx @@ -1,6 +1,6 @@ import React from 'react'; import { getStateColor } from '../../utils'; -import UserIcon from '../../assets/svg/Icons/UserIcon'; +import ProfilePic from '../ProfilePic'; import { useParams } from 'react-router-dom'; import useMentee from '../../hooks/admin/useMentee'; import Toast from '../Toast'; @@ -33,17 +33,11 @@ const MenteeApplication: React.FC = () => { ) : (
- {mentee?.profile.image_url !== '' ? ( - Mentee Avatar - ) : ( -
- -
- )} +
diff --git a/src/components/MentorApplication/MentorApplication.component.tsx b/src/components/MentorApplication/MentorApplication.component.tsx index 846a5208..49c63542 100644 --- a/src/components/MentorApplication/MentorApplication.component.tsx +++ b/src/components/MentorApplication/MentorApplication.component.tsx @@ -3,7 +3,7 @@ import { getStateColor } from '../../utils'; import { useParams } from 'react-router-dom'; import useMentor from '../../hooks/admin/useMentor'; import Toast from '../Toast'; -import UserIcon from '../../assets/svg/Icons/UserIcon'; +import ProfilePic from '../ProfilePic'; import ActionButtons from '../ActionButtons'; import { ApplicationStatus } from '../../enums'; @@ -33,17 +33,11 @@ const MentorApplication: React.FC = () => { ) : (
- {mentor?.profile.image_url ? ( - - ) : ( -
- -
- )} +