diff --git a/modules/customer-invoices/src/web/components/editor/invoice-totals.tsx b/modules/customer-invoices/src/web/components/editor/invoice-totals.tsx index 51206341..e809d9c5 100644 --- a/modules/customer-invoices/src/web/components/editor/invoice-totals.tsx +++ b/modules/customer-invoices/src/web/components/editor/invoice-totals.tsx @@ -17,7 +17,7 @@ import { PercentageInputField } from "./items/percentage-input-field"; export const InvoiceTotals = (props: ComponentProps<"fieldset">) => { const { t } = useTranslation(); - const { control, getValues } = useFormContext(); + const { control } = useFormContext(); const { currency_code, language_code, readOnly, taxCatalog } = useInvoiceContext(); const displayTaxes = useWatch({ control, name: "taxes", defaultValue: [] });