diff --git a/packages/internal/components/src/ui/switch/index.tsx b/packages/internal/components/src/ui/switch/index.tsx index 9e184288a..1af897dc3 100644 --- a/packages/internal/components/src/ui/switch/index.tsx +++ b/packages/internal/components/src/ui/switch/index.tsx @@ -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 = SwitchPrimitiveProps & Omit, "children"> & {