From 3b8c563651e70a6fe453553664db9645137b8f09 Mon Sep 17 00:00:00 2001 From: hamster1963 <71394853+hamster1963@users.noreply.github.com> Date: Tue, 25 Mar 2025 09:22:19 +0000 Subject: [PATCH] chore: auto-fix linting and formatting issues --- components/Switch.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Switch.tsx b/components/Switch.tsx index 4b934f3..85c2496 100644 --- a/components/Switch.tsx +++ b/components/Switch.tsx @@ -57,7 +57,7 @@ export default function Switch({ w: currentTagElement.offsetWidth, }) } - + if (isFirstRender) { setTimeout(() => { setIsFirstRender(false) @@ -95,7 +95,7 @@ export default function Switch({ borderRadius: 24, width: `${indicator.w}px`, transform: `translateX(${indicator.x}px)`, - transition: isFirstRender ? 'none' : "all 0.5s cubic-bezier(0.4, 0, 0.2, 1)", + transition: isFirstRender ? "none" : "all 0.5s cubic-bezier(0.4, 0, 0.2, 1)", }} /> )}