fix: Salesforce - fix option to create contact if account exists (#21288)
* Add `onCheckedChange` * Remove console.logs
This commit is contained in:
1 parent
1bd17ba365
commit
7e699ab810
2 files changed
+8
-3
No files matched your search
@@ -195,7 +195,6 @@ export const useEventTypeForm = ({
|
||||
};
|
||||
|
||||
const getDirtyFields = (values: FormValues): Partial<FormValues> => {
|
||||
console.log("🚀 ~ getDirtyFields ~ values:", values);
|
||||
if (!isFormDirty) {
|
||||
return {};
|
||||
}
|
||||
@@ -384,7 +383,6 @@ export const useEventTypeForm = ({
|
||||
}, {}) as EventTypeUpdateInput;
|
||||
|
||||
if (dirtyFieldExists) {
|
||||
console.log("🚀 ~ handleSubmit ~ filteredPayload:", filteredPayload);
|
||||
onSubmit({ ...filteredPayload, id: eventType.id });
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user