diff --git a/modules/ProfilePageModules/sections/DetailProfile.tsx b/modules/ProfilePageModules/sections/DetailProfile.tsx index 7fd0ded..a12a64e 100644 --- a/modules/ProfilePageModules/sections/DetailProfile.tsx +++ b/modules/ProfilePageModules/sections/DetailProfile.tsx @@ -16,6 +16,8 @@ import { useUserData } from '@/hooks/user' import { Pencil } from 'lucide-react' import { PandaImages } from '../constant' import { toast } from '@/components/ui/Toast' +import { useState } from 'react' +import { updateMyPersonalData } from '@/lib/api/user' interface FieldProps { label: string