fix: allow toggle switch by clicking label (#185)
This commit is contained in:
@@ -36,6 +36,7 @@ export const SettingSwitch: Component<{
|
||||
>
|
||||
<Label htmlFor={id}>{label}</Label>
|
||||
<Switch
|
||||
id={id}
|
||||
checked={checked}
|
||||
onCheckedChange={onCheckedChange}
|
||||
className="cursor-auto"
|
||||
|
||||
Reference in New Issue
Block a user