mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:27:03 +08:00
style(ui): format checkbox className call
Prettier wants the two-argument cn() call on one line; format:check failed on this file after #7816.
This commit is contained in:
1 parent
57b1eff1d4
commit
c212cdea7c
1 file changed
+1
-4
@@ -47,10 +47,7 @@ const Checkbox = React.forwardRef<HTMLInputElement, CheckboxProps>(
|
||||
onChange?.(event);
|
||||
onCheckedChange?.(event.target.checked);
|
||||
}}
|
||||
className={cn(
|
||||
"ui-checkbox",
|
||||
className,
|
||||
)}
|
||||
className={cn("ui-checkbox", className)}
|
||||
/>
|
||||
);
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user