|
|
|
@ -63,9 +63,7 @@ const Modal: React.FC<ModalProps> = ({
|
|
|
|
|
});
|
|
|
|
|
useLockBodyScroll(true, disableScrollLock);
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
{ReactDOM.createPortal(
|
|
|
|
|
return ReactDOM.createPortal(
|
|
|
|
|
// eslint-disable-next-line jsx-a11y/no-static-element-interactions
|
|
|
|
|
<div
|
|
|
|
|
className="fixed top-0 left-0 right-0 bottom-0 bg-gray-800 bg-opacity-50 w-full h-full z-50 flex justify-center items-center"
|
|
|
|
@ -181,8 +179,6 @@ const Modal: React.FC<ModalProps> = ({
|
|
|
|
|
</Transition>
|
|
|
|
|
</div>,
|
|
|
|
|
document.body
|
|
|
|
|
)}
|
|
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|