Organization_Management : Organization Hierarchy #443
@ -15,10 +15,7 @@ const Modal = ({
|
||||
onClose();
|
||||
}, [disabled, onClose]);
|
||||
|
||||
const handleSubmit = useCallback(() => {
|
||||
if (disabled) return;
|
||||
onSubmit();
|
||||
}, [disabled, onSubmit]);
|
||||
|
||||
|
||||
if (!isOpen) return null;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user