diff --git a/src/components/forms/invoice-form.tsx b/src/components/forms/invoice-form.tsx index ee0de32..30ff19b 100644 --- a/src/components/forms/invoice-form.tsx +++ b/src/components/forms/invoice-form.tsx @@ -214,7 +214,7 @@ export default function InvoiceForm({ invoiceId }: InvoiceFormProps) { ], })); } - }, [formData.defaultHourlyRate]); + }, [formData.defaultHourlyRate, formData.items]); // Update default hourly rate when client changes useEffect(() => {