Skip to content

Commit

Permalink
Remove unnecessary logging in form
Browse files Browse the repository at this point in the history
  • Loading branch information
drublic committed Dec 4, 2020
1 parent 8a2d20f commit a910452
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Form/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,6 @@ const Form: FunctionComponent<FormProps> = ({
const matchingField = findFields(form, key)?.[0];

if (fieldIsField(matchingField) && matchingField?.onBeforeSubmit) {
console.log({
onBeforeSubmit: matchingField.onBeforeSubmit(value),
key,
});
response[key] = matchingField.onBeforeSubmit(value);

return;
Expand Down

0 comments on commit a910452

Please sign in to comment.