From e20284be496e67e6d90deaa163ee06ce64d308b2 Mon Sep 17 00:00:00 2001 From: Douglas Date: Thu, 23 Apr 2026 10:52:24 +0100 Subject: [PATCH] fix(ui): merge Toggle className with cn() outside toggleVariants CVA should not receive className; merge with toggleVariants() output. Made-with: Cursor --- src/components/ui/toggle.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ui/toggle.tsx b/src/components/ui/toggle.tsx index bc29bf33..85386543 100644 --- a/src/components/ui/toggle.tsx +++ b/src/components/ui/toggle.tsx @@ -49,7 +49,7 @@ const Toggle = React.forwardRef< >(({ className, variant, size, ...props }, ref) => ( ));