diff --git a/pages/userInfo/editProfile.tsx b/pages/userInfo/editProfile.tsx index 1a0f02a..387bfd8 100644 --- a/pages/userInfo/editProfile.tsx +++ b/pages/userInfo/editProfile.tsx @@ -15,7 +15,6 @@ import { UserInfoProps } from '@/context/UserInfoProvider.tsx'; import useModal from '@/hooks/useModal.ts'; import { uploadFile } from '@/api/room'; import { ImageListType } from 'react-images-uploading'; -import { RoomFile } from '@/public/types/room'; interface ProfileProps { _imageSrc: string; @@ -100,19 +99,6 @@ export default function EditProfile({ _imageSrc, userInfo }: ProfileProps) { const genderButtons = [{ label: 'Male' }, { label: 'Female' }, { label: 'Others' }]; - const disabledYn = () => { - setTimeout(() => { - return ( - (imageSrc || '') === '' || - !watch('firstName') || - !watch('lastName') || - !watch('dateOfBirth') || - !watch('describe') || - !buttonState - ); - }, 1000); - }; - const ProfileImage = ({ onClick }: ImageComponentClickProps) => { return (