Skip to content

Commit

Permalink
chore :: useModal default
Browse files Browse the repository at this point in the history
  • Loading branch information
dutexion committed May 5, 2024
1 parent 14f9a3d commit 83367e3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/pages/Team/Manage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 83367e3

Please sign in to comment.