diff --git a/src/components/MenteeList/index.tsx b/src/components/MenteeList/index.tsx index f0653f95..03ac16f6 100644 --- a/src/components/MenteeList/index.tsx +++ b/src/components/MenteeList/index.tsx @@ -1,37 +1,15 @@ -import React, { useState } from 'react'; -import UserIcon from '../../assets/svg/Icons/UserIcon'; +import React from 'react'; import { Mentee } from '../../types'; - -const MenteeProfilePic: React.FC<{ src: string; alt: string }> = ({ - src, - alt, -}) => { - const [isError, setIsError] = useState(false); - - return isError || !src ? ( -