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 useEffect hook
This commit is contained in:
@@ -82,7 +82,7 @@ const TransferToLayingDetailModal = () => {
|
||||
if (modalAction === 'detail') {
|
||||
detailModal.openModal();
|
||||
}
|
||||
}, [modalAction]);
|
||||
}, [modalAction, detailModal]);
|
||||
|
||||
return (
|
||||
<Modal
|
||||
|
||||
Reference in New Issue
Block a user