mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-13 01:24:44 -05:00
Update defaultHourlyRate dependency array in InvoiceForm
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user