This commit is contained in:
Kenneth Jannette
2024-01-28 23:19:06 -06:00
parent b06aa1f053
commit 926b69695f
4 changed files with 56 additions and 28 deletions

View File

@@ -101,7 +101,6 @@ export const handleFormDataChange = (e, name, data, fields) => {
};
export const isFormDataHasErrors = (data) => {
console.log("data", data);
return Object.values(data).reduce(
(hasErrors, { error }) => hasErrors || error,
false