Update defaultHourlyRate dependency array in InvoiceForm

This commit is contained in:
2025-08-01 03:39:23 -04:00
parent 9de86df070
commit f87cc2f295

View File

@@ -227,6 +227,7 @@ export default function InvoiceForm({ invoiceId }: InvoiceFormProps) {
],
}));
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [formData.defaultHourlyRate]);
// Update default hourly rate when client changes