fix(modal): content when no animated

This commit is contained in:
Junior Garcia 2023-04-13 23:29:33 -03:00
parent 6bf21ad1ac
commit 2da9d4a8c9

View File

@ -78,7 +78,7 @@ const ModalContent = forwardRef<ModalContentProps, "section">((props, _) => {
<div tabIndex={-1}>
{backdrop}
{disableAnimation ? (
<div className={slots.wrapper({class: classNames?.wrapper})}>content</div>
<div className={slots.wrapper({class: classNames?.wrapper})}>{content}</div>
) : (
<motion.div
animate="enter"