Skip to content

Commit

Permalink
Normalization & Transformation do not have a loading state (#21232)
Browse files Browse the repository at this point in the history
- Added await property to be sure that Formik will handle "isSubmitting" state in a proper way
  • Loading branch information
Mark Berger authored Jan 17, 2023
1 parent cb31ff5 commit 97dc609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion airbyte-webapp/src/views/Connection/FormCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const FormCard = <T extends object>({
Error,
{ values: T; formikHelpers: FormikHelpers<T> }
>(async ({ values, formikHelpers }) => {
form.onSubmit(values, formikHelpers);
await form.onSubmit(values, formikHelpers);
});

const errorMessage = error ? generateMessageFromError(error) : null;
Expand Down

0 comments on commit 97dc609

Please sign in to comment.