Skip to content

Commit dcda5ff

Browse files
samejrclaude
andcommitted
chore(webapp): drop the comment from the Switch thumb
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
1 parent a49e2f2 commit dcda5ff

1 file changed

Lines changed: 0 additions & 6 deletions

File tree

apps/webapp/app/components/primitives/Switch.tsx

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,6 @@ export const Switch = React.forwardRef<React.ElementRef<typeof SwitchPrimitives.
102102
root
103103
)}
104104
>
105-
{/*
106-
The `group-active:` classes in `thumb` stretch it into an oval while the switch is held
107-
down. An unchecked thumb is flush with the left of the track, so extra width grows it
108-
rightwards on its own; a checked thumb gives back the same amount of translation to stay
109-
pinned right and grow leftwards instead.
110-
*/}
111105
<SwitchPrimitives.Thumb
112106
className={cn(
113107
thumb,

0 commit comments

Comments
 (0)