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

@@ -28,7 +28,7 @@ export default class GreetingSettings extends React.PureComponent {
const { greeting } = this.language.sections;
return (
<div>
<>
<h2>{greeting.title}</h2>
<Switch name='greeting' text={this.language.enabled} />
<Checkbox name='events' text={greeting.events} />
@@ -42,7 +42,7 @@ export default class GreetingSettings extends React.PureComponent {
<p>{greeting.birthday_date}</p>
<DayPickerInput onDayChange={(data) => this.changeDate(data)} value={this.state.birthday} />
</ul>
</div>
</>
);
}
}