initially setup
This commit is contained in:
parent
28b0541894
commit
99eaf92e3f
@ -15,7 +15,10 @@ const Modal = ({
|
||||
onClose();
|
||||
}, [disabled, onClose]);
|
||||
|
||||
|
||||
const handleSubmit = useCallback(() => {
|
||||
if (disabled) return;
|
||||
onSubmit();
|
||||
}, [disabled, onSubmit]);
|
||||
|
||||
if (!isOpen) return null;
|
||||
|
||||
|
0
src/pages/Organization/OrganizationModal.jsx
Normal file
0
src/pages/Organization/OrganizationModal.jsx
Normal file
Loading…
x
Reference in New Issue
Block a user