Skip to content

Commit

Permalink
framer-motion to motion.react
Browse files Browse the repository at this point in the history
  • Loading branch information
tacheraSasi committed Nov 26, 2024
1 parent 9cbc74a commit 68ac615
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion website/components/code-example.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { useEffect, useState } from 'react'
import { motion } from 'framer-motion'
import { motion } from 'motion/react'
import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'
import { codeExamples } from '@/lib/codeExample'
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'
Expand Down
2 changes: 1 addition & 1 deletion website/components/cta.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client'

import { motion } from 'framer-motion'
import { motion } from 'motion/react'
import { Button } from '@/components/ui/button'

export default function CTA() {
Expand Down
2 changes: 1 addition & 1 deletion website/components/hero.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { useEffect, useRef } from 'react'
import { motion, useAnimation, useInView } from 'framer-motion'
import { motion, useAnimation, useInView } from 'motion/react'
import { Button } from '@/components/ui/button'
import { ArrowRight, Code2 } from 'lucide-react'
import { AnimatedBackground } from './AnimatedBackground'
Expand Down
2 changes: 1 addition & 1 deletion website/components/landing-page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { useEffect } from 'react'
import { motion, useAnimation } from 'framer-motion'
import { motion, useAnimation } from 'motion/react'
import { useInView } from 'react-intersection-observer'
import Header from './header'
import Hero from './hero'
Expand Down

0 comments on commit 68ac615

Please sign in to comment.