perf: remove unneeded divs and replace with <>, remove outdated notes code

This commit is contained in:
David Ralph
2021-03-22 22:17:52 +00:00
parent 29171bce5d
commit 5dd11aca94
28 changed files with 80 additions and 90 deletions

View File

@@ -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>
</>
);
}
}