diff --git a/src/component/profile_complete/ProfileCompleteCom.jsx b/src/component/profile_complete/ProfileCompleteCom.jsx index c879c63..0c3d7e1 100644 --- a/src/component/profile_complete/ProfileCompleteCom.jsx +++ b/src/component/profile_complete/ProfileCompleteCom.jsx @@ -55,7 +55,7 @@ export default function ProfileCompleteCom() { const mutation = useMutation({ mutationFn: (fields) => { - const {practice, specialization} = fields + const {practice, specialization, url_name} = fields if (!practice || !specialization || !url_name) { throw new Error('Please select both practice, specialization fields and URL_Name') }