mirror of
https://github.com/mue/mue.git
synced 2026-07-20 07:24:08 +02:00
perf: remove unneeded divs and replace with <>, remove outdated notes code
This commit is contained in:
@@ -31,14 +31,14 @@ export default class Switch extends React.PureComponent {
|
||||
}
|
||||
|
||||
return (
|
||||
<React.Fragment>
|
||||
<>
|
||||
<FormControlLabel
|
||||
control={<SwitchUI name={this.props.name} color='primary' checked={this.state.checked} onChange={() => this.handleChange()} />}
|
||||
label={text}
|
||||
labelPlacement='start'
|
||||
/>
|
||||
<br/>
|
||||
</React.Fragment>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user