Skip to content

Commit 2917bb7

Browse files
committed
replaced framer-motion package with motion
1 parent 11625c1 commit 2917bb7

File tree

4 files changed

+37
-8
lines changed

4 files changed

+37
-8
lines changed

package-lock.json

Lines changed: 34 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"snippets:consolidate": "node ./utils/consolidateSnippets.js"
1717
},
1818
"dependencies": {
19-
"framer-motion": "^11.15.0",
19+
"motion": "^11.15.0",
2020
"prismjs": "^1.29.0",
2121
"react": "^18.3.1",
2222
"react-dom": "^18.3.1",

src/components/SnippetList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { motion, AnimatePresence } from "framer-motion";
1+
import { motion, AnimatePresence } from "motion/react";
22
import { useState } from "react";
33

44
import { useAppContext } from "@contexts/AppContext";

src/components/SnippetModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { motion } from "framer-motion";
1+
import { motion } from "motion/react";
22
import React from "react";
33
import ReactDOM from "react-dom";
44

0 commit comments

Comments
 (0)