mirror of
https://github.com/makeplane/plane
synced 2025-08-07 19:59:33 +00:00
fix: modal core onClose (#5018)
This commit is contained in:
committed by
GitHub
parent
3dc933f0e8
commit
0363057d9c
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user