fix: now using the correct method to instantiate motion since its constructor is deprecated in favor of the create method
This commit is contained in:
@@ -21,8 +21,8 @@ import styles from './modal.module.css'
|
||||
import { Typography } from '../../Typography'
|
||||
import { MaterialIcon } from '../../Icons/MaterialIcon'
|
||||
|
||||
const MotionOverlay = motion(ModalOverlay)
|
||||
const MotionModal = motion(AriaModal)
|
||||
const MotionOverlay = motion.create(ModalOverlay)
|
||||
const MotionModal = motion.create(AriaModal)
|
||||
|
||||
function InnerModal({
|
||||
animation,
|
||||
|
||||
Reference in New Issue
Block a user