diff --git a/src/components/forms/invoice-form.tsx b/src/components/forms/invoice-form.tsx index ee0de32..a0af9f4 100644 --- a/src/components/forms/invoice-form.tsx +++ b/src/components/forms/invoice-form.tsx @@ -196,6 +196,7 @@ export default function InvoiceForm({ invoiceId }: InvoiceFormProps) { ]); // Update the first line item when defaultHourlyRate changes (if it hasn't been manually edited) + // eslint-disable-next-line react-hooks/exhaustive-deps -- formData.items intentionally excluded to prevent infinite loop useEffect(() => { if ( formData.items.length === 1 &&