Update packages/ui/components/form/inputs/Input.tsx
Co-authored-by: Omar López <zomars@me.com>pull/6560/head
parent
a800529d98
commit
0d853b4dce
|
@ -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");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue