chore: update toggle dependencies

This commit is contained in:
ValdiANS
2025-10-02 12:00:02 +07:00
parent 2a6f2a1646
commit 5c73f8f4af
+1 -1
View File
@@ -24,7 +24,7 @@ export const useModal = () => {
} else {
openModal();
}
}, [open]);
}, [open, closeModal, openModal]);
if (ref.current) {
ref.current.addEventListener('close', () => {