diff --git a/src/profile/components/Profile/Header.tsx b/src/profile/components/Profile/Header.tsx index b06e6ab0..db24da71 100644 --- a/src/profile/components/Profile/Header.tsx +++ b/src/profile/components/Profile/Header.tsx @@ -1,17 +1,14 @@ -import React, { useContext } from 'react'; +import { useContext } from 'react'; -import DEFAULT_USER_IMAGE from 'common/img/profile/user.png'; import { ProfilePageContext } from 'profile/providers/ProfilePage'; import style from '../../less/profile.less'; export const Header = () => { - const { first_name, last_name, image } = useContext(ProfilePageContext); + const { first_name, last_name } = useContext(ProfilePageContext); const fullName = `${first_name} ${last_name}`; - const imgSrc = image || DEFAULT_USER_IMAGE; return (
-

{fullName}

);