Skip to content

Commit 29ec3c5

Browse files
committed
fix: use new motion.create
1 parent f30ce0d commit 29ec3c5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,11 @@ const SHEET_MARGINS = {
6262
xs: 540,
6363
} as const;
6464

65-
const MotionModal = motion(
65+
const MotionModal = motion.create(
6666
Modal as ForwardRefExoticComponent<RefAttributes<HTMLDivElement>>
6767
);
6868

69-
const MotionModalOverlay = motion(
69+
const MotionModalOverlay = motion.create(
7070
ModalOverlay as ForwardRefExoticComponent<
7171
ModalOverlayProps & RefAttributes<HTMLDivElement>
7272
>

0 commit comments

Comments
 (0)