mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 07:45:47 +00:00
refactor(FE): Fix missing dependencies in UniformityTable effect hooks
This commit is contained in:
@@ -503,7 +503,7 @@ const UniformityTable = () => {
|
|||||||
|
|
||||||
filterFormik.resetForm();
|
filterFormik.resetForm();
|
||||||
filterModal.closeModal();
|
filterModal.closeModal();
|
||||||
}, [filterFormik, updateFilter]);
|
}, [filterFormik, updateFilter, filterModal]);
|
||||||
|
|
||||||
const selectedRowIds = useMemo(() => {
|
const selectedRowIds = useMemo(() => {
|
||||||
return Object.keys(rowSelection)
|
return Object.keys(rowSelection)
|
||||||
@@ -551,7 +551,13 @@ const UniformityTable = () => {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, [searchParams, uniformities]);
|
}, [
|
||||||
|
searchParams,
|
||||||
|
uniformities,
|
||||||
|
router,
|
||||||
|
singleApproveModal,
|
||||||
|
singleRejectModal,
|
||||||
|
]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (isSuccess) {
|
if (isSuccess) {
|
||||||
|
|||||||
Reference in New Issue
Block a user