mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Fix missing dependency in useCallback hooks
This commit is contained in:
@@ -166,7 +166,7 @@ const CustomerPaymentTab = ({ tabId }: CustomerPaymentTabProps) => {
|
||||
setHasDateError(false);
|
||||
}
|
||||
},
|
||||
[dateErrorShown]
|
||||
[formik, dateErrorShown]
|
||||
);
|
||||
|
||||
const handleEndDateChange = useCallback(
|
||||
@@ -196,7 +196,7 @@ const CustomerPaymentTab = ({ tabId }: CustomerPaymentTabProps) => {
|
||||
setDateErrorShown(false);
|
||||
}
|
||||
},
|
||||
[dateErrorShown]
|
||||
[formik, dateErrorShown]
|
||||
);
|
||||
|
||||
// ===== FILTER HELPERS =====
|
||||
|
||||
Reference in New Issue
Block a user