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

@@ -14,11 +14,10 @@ import Order from '../settings/sections/Order';
import SettingsTabs from './backend/Tabs';
export default function Settings () {
export default function Settings() {
const language = window.language.modals.main.settings.sections;
return (
<React.Fragment>
<>
<SettingsTabs>
<div label={language.time.title}><Time/></div>
<div label={language.quote.title}><Quote/></div>
@@ -37,6 +36,6 @@ export default function Settings () {
<h1>IMPORTANT INFO</h1>
<p>In order for changes to take place, the page must be refreshed.</p>
</div>
</React.Fragment>
</>
);
}