fix: modal core onClose (#5018)
This commit is contained in:
parent
3dc933f0e8
commit
0363057d9c
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export const ModalCore: React.FC<Props> = (props) => {
|
|||
|
||||
return (
|
||||
<Transition.Root show={isOpen} as={Fragment}>
|
||||
<Dialog as="div" className="relative z-20" onClose={() => handleClose && handleClose}>
|
||||
<Dialog as="div" className="relative z-20" onClose={() => handleClose && handleClose()}>
|
||||
<Transition.Child
|
||||
as={Fragment}
|
||||
enter="ease-out duration-300"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue