fix(modal): set body hidden false on close modal

This commit is contained in:
HSU Rynki
2020-05-25 11:03:36 +08:00
parent 1a1e308257
commit f22d67e482

View File

@@ -47,6 +47,7 @@ const Modal: React.FC<React.PropsWithChildren<ModalProps>> = ({
const closeModal = () => {
setVisible(false)
setBodyHidden(false)
onClose && onClose()
}