From e2f78aefb300c1cc0568e4c5f5bb53766f0dc459 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BE=90=E6=B6=9B?= Date: Thu, 13 Feb 2025 17:10:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Switch=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E4=BD=BF=E7=94=A8Form=E4=BC=A0=E9=80=92=E5=86=85=E5=AE=B9?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Switch.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Switch.tsx b/src/components/Switch.tsx index bfa261f..5b616a7 100644 --- a/src/components/Switch.tsx +++ b/src/components/Switch.tsx @@ -31,9 +31,7 @@ export function Switch({ name, checked = false, disabled = false, onChange }: Sw
- {!isNil(name) && ( - - )} + {!isNil(name) && } ); }