diff --git a/src/pages/Team/Manage.tsx b/src/pages/Team/Manage.tsx index 1e4d73c..f95b932 100644 --- a/src/pages/Team/Manage.tsx +++ b/src/pages/Team/Manage.tsx @@ -32,9 +32,7 @@ export const TeamManage = () => { const ref = useOutsideClick(() => { setIsOpen(false); }); - const { isVisible, onShow, ModalWrapper, onClose } = useModal({ - defaultVisible: 'memberDel', - }); + const { isVisible, onShow, ModalWrapper, onClose } = useModal(); const onOpen = (index: number) => { if (!isOpen) setIsOpen(index);