Skip to content

Conversation

hoshinogami
Copy link
Contributor

No description provided.

},
[1]
);
const fns = React.useMemo(() => getModal, [1]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

挖草,这个1是什么东西

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个没必要吧

const useModal = () => {
console.log('1');
const modalRef = React.useRef<any>();
const [open, setOpen] = useState(true);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个open有什么用,后面好想没用到

@1360151219 1360151219 merged commit ef99b7f into master Aug 25, 2023
@1360151219 1360151219 deleted the Modal branch August 25, 2023 03:15
@1360151219 1360151219 restored the Modal branch August 25, 2023 03:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants