Event Edit: change container to Fragment

master
Tal Leibman 5 years ago committed by Tom Hacohen
parent 3f1194f8bd
commit 265f2a091b

@ -236,7 +236,7 @@ class EventEdit extends React.PureComponent<PropsType> {
const differentTimezone = this.state.timezone && (this.state.timezone !== getCurrentTimezone()) && timezoneLoadFromName(this.state.timezone); const differentTimezone = this.state.timezone && (this.state.timezone !== getCurrentTimezone()) && timezoneLoadFromName(this.state.timezone);
return ( return (
<React.Fragment> <>
<h2> <h2>
{this.props.item ? 'Edit Event' : 'New Event'} {this.props.item ? 'Edit Event' : 'New Event'}
</h2> </h2>
@ -382,7 +382,7 @@ class EventEdit extends React.PureComponent<PropsType> {
> >
Are you sure you would like to delete this event? Are you sure you would like to delete this event?
</ConfirmationDialog> </ConfirmationDialog>
</React.Fragment> </>
); );
} }
} }

Loading…
Cancel
Save