url name
This commit is contained in:
@@ -57,7 +57,7 @@ export default function ProfileCompleteCom() {
|
|||||||
mutationFn: (fields) => {
|
mutationFn: (fields) => {
|
||||||
const {practice, specialization, url_name} = fields
|
const {practice, specialization, url_name} = fields
|
||||||
if (!practice || !specialization || !url_name) {
|
if (!practice || !specialization || !url_name) {
|
||||||
throw new Error('Please select both practice, specialization fields and URL_Name')
|
throw new Error('Please select both practice, specialization and Enter URL_Name')
|
||||||
}
|
}
|
||||||
return completeProfile(fields)
|
return completeProfile(fields)
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user