diff --git a/modules/customer-invoices/src/web/components/editor/customer-invoice-edit-form.tsx b/modules/customer-invoices/src/web/components/editor/customer-invoice-edit-form.tsx index 95e14605..31e8d5a6 100644 --- a/modules/customer-invoices/src/web/components/editor/customer-invoice-edit-form.tsx +++ b/modules/customer-invoices/src/web/components/editor/customer-invoice-edit-form.tsx @@ -1,4 +1,4 @@ -import { FieldErrors, useFormContext, useWatch } from "react-hook-form"; +import { FieldErrors, useFormContext } from "react-hook-form"; import { FormDebug } from "@erp/core/components"; import { useTranslation } from "../../i18n"; @@ -25,13 +25,6 @@ export const CustomerInvoiceEditForm = ({ const { t } = useTranslation(); const form = useFormContext(); - const { defaultValues: initialValues } = form.formState; - initialValues.recip - - const prueba = useWatch({ - control: form.control, - }); - return (