From 9b1e26d4ec146fa1a1e37dde2e9212e4edc5668b Mon Sep 17 00:00:00 2001 From: Fringg Date: Wed, 29 Apr 2026 08:34:37 +0300 Subject: [PATCH] =?UTF-8?q?fix:=20switch=20component=20=E2=80=94=20replace?= =?UTF-8?q?=20motion=20with=20CSS=20transition-transform?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/primitives/Switch/Switch.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/components/primitives/Switch/Switch.tsx b/src/components/primitives/Switch/Switch.tsx index 6d914b6..bd01472 100644 --- a/src/components/primitives/Switch/Switch.tsx +++ b/src/components/primitives/Switch/Switch.tsx @@ -1,9 +1,7 @@ import * as SwitchPrimitive from '@radix-ui/react-switch'; -import { motion } from 'framer-motion'; import { forwardRef, type ComponentPropsWithoutRef } from 'react'; import { cn } from '@/lib/utils'; import { usePlatform } from '@/platform'; -import { springTransition } from '../../motion/transitions'; export interface SwitchProps extends Omit< ComponentPropsWithoutRef, @@ -42,13 +40,11 @@ export const Switch = forwardRef( {...props} > -