chore: Decamelize keys on contact update

This commit is contained in:
iamsivin
2024-11-22 09:03:07 +05:30
parent ceaeba84ee
commit ca05be1c1a
7 changed files with 42 additions and 10 deletions
@@ -63,7 +63,7 @@ const updateContact = async updatedData => {
const handleFormUpdate = debounce(
updatedData => updateContact(updatedData),
500,
600,
false
);
@@ -27,7 +27,7 @@ const updateContact = async ({ id, updatedData }) => {
const handleFormUpdate = debounce(
({ id, updatedData }) => updateContact({ id, updatedData }),
500,
600,
false
);