From a9104521b9c1959aab3397915d995c2ed96c4036 Mon Sep 17 00:00:00 2001 From: Hans Christian Reinl Date: Fri, 4 Dec 2020 13:45:14 +0100 Subject: [PATCH] Remove unnecessary logging in form --- src/Form/index.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/Form/index.tsx b/src/Form/index.tsx index 5225876..cd05d5f 100644 --- a/src/Form/index.tsx +++ b/src/Form/index.tsx @@ -148,10 +148,6 @@ const Form: FunctionComponent = ({ const matchingField = findFields(form, key)?.[0]; if (fieldIsField(matchingField) && matchingField?.onBeforeSubmit) { - console.log({ - onBeforeSubmit: matchingField.onBeforeSubmit(value), - key, - }); response[key] = matchingField.onBeforeSubmit(value); return;