remove username + shadow new message

This commit is contained in:
hamid zarghami
2025-07-30 10:52:08 +03:30
parent f669955ab5
commit 23e18fa19c
4 changed files with 5 additions and 9 deletions
+1 -5
View File
@@ -4,7 +4,6 @@ import AvatarImage from '../../assets/images/avatar_image.png'
import Button from '../../components/Button'
import { DocumentUpload } from 'iconsax-react'
import { useGetProfile, useSingleUpload, useUpdateProfile } from './hooks/useProfileData'
import Username from './components/Username'
import { useDropzone } from 'react-dropzone'
import { toast } from '@/components/Toast'
import { ErrorType } from '@/helpers/types'
@@ -142,10 +141,7 @@ const Profile: FC = () => {
{t('profile.auth_after_change_info')}
</div>
</div>
<div className='flex-1 '>
<Username
username={getProfile.data?.data?.user?.userName}
/>
<div className='flex-1 flex flex-col gap-2'>
<Email
email={getProfile.data?.data?.user?.emailAddress}
isVerified={getProfile.data?.data?.user?.emailVerified}