mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
chore: update toggle dependencies
This commit is contained in:
@@ -24,7 +24,7 @@ export const useModal = () => {
|
|||||||
} else {
|
} else {
|
||||||
openModal();
|
openModal();
|
||||||
}
|
}
|
||||||
}, [open]);
|
}, [open, closeModal, openModal]);
|
||||||
|
|
||||||
if (ref.current) {
|
if (ref.current) {
|
||||||
ref.current.addEventListener('close', () => {
|
ref.current.addEventListener('close', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user