style(desktop): drop redundant On/Off label next to boolean config switches
The switch already communicates state, so the text label was noise.
This commit is contained in:
parent
41ede96304
commit
947f305f84
|
|
@ -53,8 +53,7 @@ function ConfigField({
|
|||
|
||||
if (schema.type === 'boolean') {
|
||||
return row(
|
||||
<div className="flex items-center justify-end gap-3">
|
||||
<span className="text-xs text-muted-foreground">{value ? 'On' : 'Off'}</span>
|
||||
<div className="flex items-center justify-end">
|
||||
<Switch checked={Boolean(value)} onCheckedChange={onChange} />
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in New Issue