mirror of
https://github.com/soconnor0919/beenvoice.git
synced 2025-12-15 10:34:43 -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]);
|
}, [formData.defaultHourlyRate]);
|
||||||
|
|
||||||
// Update default hourly rate when client changes
|
// Update default hourly rate when client changes
|
||||||
|
|||||||
Reference in New Issue
Block a user