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:
@@ -32,8 +32,8 @@ import type {
|
||||
} from "@/types/components/myPages/myPage/accountPage"
|
||||
import type { Reward } from "@/types/components/myPages/rewards"
|
||||
|
||||
const MotionOverlay = motion(ModalOverlay)
|
||||
const MotionModal = motion(Modal)
|
||||
const MotionOverlay = motion.create(ModalOverlay)
|
||||
const MotionModal = motion.create(Modal)
|
||||
|
||||
const thirtyMinutesInMs = 1000 * 60 * 30
|
||||
|
||||
|
||||
Reference in New Issue
Block a user