Update invoice-form.tsx

This commit is contained in:
2025-07-31 19:14:11 -04:00
parent 2eac74ea0c
commit 8c8f09dab9

View File

@@ -214,7 +214,7 @@ export default function InvoiceForm({ invoiceId }: InvoiceFormProps) {
],
}));
}
}, [formData.defaultHourlyRate]);
}, [formData.defaultHourlyRate, formData.items]);
// Update default hourly rate when client changes
useEffect(() => {