Skip to content

Commit a1f6b25

Browse files
committed
refactor: "framer-motion" to "motion/react"
1 parent 33cdfaf commit a1f6b25

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/features/dashboard/sandbox/inspect/frame.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

33
import { cn } from '@/lib/utils'
4-
import { motion } from 'framer-motion'
4+
import { motion } from 'motion/react'
55
import React from 'react'
66

77
type SandboxInspectFrameProps = React.ComponentProps<typeof motion.div> & {

src/features/dashboard/sandbox/inspect/stopped-banner.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import {
77
CardTitle,
88
cardVariants,
99
} from '@/ui/primitives/card'
10-
import { AnimatePresence, motion } from 'framer-motion'
1110
import { AlertTriangle } from 'lucide-react'
11+
import { AnimatePresence, motion } from 'motion/react'
1212
import { useMemo } from 'react'
1313
import { useSandboxContext } from '../context'
1414
import { useLastUpdated, useWatcherError } from './hooks/use-watcher'

src/features/dashboard/sandbox/inspect/viewer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { cn } from '@/lib/utils'
66
import { Button } from '@/ui/primitives/button'
77
import { Drawer, DrawerContent } from '@/ui/primitives/drawer'
88
import { ScrollArea, ScrollBar } from '@/ui/primitives/scroll-area'
9-
import { AnimatePresence } from 'framer-motion'
109
import { Download } from 'lucide-react'
10+
import { AnimatePresence } from 'motion/react'
1111
import { useEffect, useState } from 'react'
1212
import ShikiHighlighter, { Language } from 'react-shiki'
1313
import SandboxInspectFrame from './frame'

src/features/dashboard/sandboxes/monitoring/time-picker/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use client'
22

3-
import { AnimatePresence, motion } from 'framer-motion'
43
import { ChevronRight } from 'lucide-react'
4+
import { AnimatePresence, motion } from 'motion/react'
55
import { ReactNode, memo, useCallback, useEffect, useRef } from 'react'
66

77
import { cn } from '@/lib/utils'

src/features/dashboard/team/profile-picture-card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ import { uploadTeamProfilePictureAction } from '@/server/team/team-actions'
1212
import { Avatar, AvatarFallback, AvatarImage } from '@/ui/primitives/avatar'
1313
import { Badge } from '@/ui/primitives/badge'
1414
import { cardVariants } from '@/ui/primitives/card'
15-
import { AnimatePresence, motion } from 'framer-motion'
1615
import { ChevronsUp, ImagePlusIcon, Loader2, Pencil } from 'lucide-react'
16+
import { AnimatePresence, motion } from 'motion/react'
1717
import { useAction } from 'next-safe-action/hooks'
1818
import { useRef, useState } from 'react'
1919

src/features/docs/sidebar/sidebar-item.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ import { cn, exponentialSmoothing } from '@/lib/utils'
44
import { isActive } from '@/lib/utils/docs'
55
import { Button, buttonVariants } from '@/ui/primitives/button'
66
import { Separator } from '@/ui/primitives/separator'
7-
import { AnimatePresence, motion, type Variants } from 'framer-motion'
87
import { PageTree } from 'fumadocs-core/server'
98
import { ChevronRight } from 'lucide-react'
9+
import { AnimatePresence, motion, type Variants } from 'motion/react'
1010
import Link from 'next/link'
1111
import { usePathname } from 'next/navigation'
1212
import React from 'react'

0 commit comments

Comments
 (0)