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

@@ -58,7 +58,7 @@ export default class SearchSettings extends React.PureComponent {
const { search } = language.sections;
return (
<div className='section'>
<>
<h2>{search.title}</h2>
<Switch name='searchBar' text={language.enabled} />
<Checkbox name='voiceSearch' text={search.voice_search} />
@@ -74,7 +74,7 @@ export default class SearchSettings extends React.PureComponent {
<p style={{ 'marginTop': '0px' }}>{search.custom} <span className='modalLink' onClick={() => this.resetSearch()}>{language.reset}</span></p>
<input type='text' id='customSearchEngine'></input>
</ul>
</div>
</>
);
}
}