fix: import path

This commit is contained in:
lawvs 2025-05-11 23:32:58 +08:00
parent 55f20398be
commit 794da2c2a4
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,5 @@
"use client"
import { Spring } from "@follow/components/constants/spring"
import { cn } from "@follow/utils/utils"
import type { SwitchProps as SwitchPrimitiveProps } from "@headlessui/react"
import { Switch as SwitchPrimitive } from "@headlessui/react"
@ -9,6 +8,8 @@ import { m as motion } from "motion/react"
import * as React from "react"
import { useMemo } from "react"
import { Spring } from "../../constants/spring"
type SwitchProps<TTag extends React.ElementType = typeof motion.button> =
SwitchPrimitiveProps<TTag> &
Omit<HTMLMotionProps<"button">, "children"> & {