mirror of
https://github.com/mue/mue.git
synced 2026-07-28 03:01:10 +02:00
perf: remove unneeded divs and replace with <>, remove outdated notes code
This commit is contained in:
@@ -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>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user