UI: Remove extra "label=" text from SmartSupply interface (#1622)

This commit is contained in:
gmcew 2024-08-24 05:27:36 +01:00 committed by GitHub
parent 028e779602
commit 49629d1d28
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -48,7 +48,7 @@ function SSoption(props: ISSoptionProps): React.ReactElement {
return (
<>
label={<Typography>{props.warehouse.materials[props.matName].name}</Typography>}
{<Typography>{props.warehouse.materials[props.matName].name}</Typography>}
<FormControlLabel
control={<Switch checked={value == "leftovers"} onChange={onLOChange} />}
label={<Typography>{"Use leftovers"}</Typography>}