From 97dc609383104ab15cc2258f619440f4e0115075 Mon Sep 17 00:00:00 2001 From: Mark Berger Date: Tue, 17 Jan 2023 03:59:49 +0200 Subject: [PATCH] Normalization & Transformation do not have a loading state (#21232) - Added await property to be sure that Formik will handle "isSubmitting" state in a proper way --- airbyte-webapp/src/views/Connection/FormCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/airbyte-webapp/src/views/Connection/FormCard.tsx b/airbyte-webapp/src/views/Connection/FormCard.tsx index b89d8903e9e6..22d6a7157d2e 100644 --- a/airbyte-webapp/src/views/Connection/FormCard.tsx +++ b/airbyte-webapp/src/views/Connection/FormCard.tsx @@ -33,7 +33,7 @@ export const FormCard = ({ Error, { values: T; formikHelpers: FormikHelpers } >(async ({ values, formikHelpers }) => { - form.onSubmit(values, formikHelpers); + await form.onSubmit(values, formikHelpers); }); const errorMessage = error ? generateMessageFromError(error) : null;