Update packages/ui/components/form/inputs/Input.tsx

Co-authored-by: Omar López <zomars@me.com>
pull/6560/head
Hariom Balhara 2023-02-13 14:49:48 +05:30 committed by GitHub
parent a800529d98
commit 0d853b4dce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -339,7 +339,6 @@ const PlainForm = <T extends FieldValues>(props: FormProps<T>, ref: Ref<HTMLForm
form form
.handleSubmit(handleSubmit)(event) .handleSubmit(handleSubmit)(event)
.catch((err) => { .catch((err) => {
console.log(err);
// FIXME: Booking Pages don't have toast, so this error is never shown // FIXME: Booking Pages don't have toast, so this error is never shown
showToast(`${getErrorFromUnknown(err).message}`, "error"); showToast(`${getErrorFromUnknown(err).message}`, "error");
}); });