widgets: change RRule wrapper to React.Fragment

master
Tal Leibman 5 years ago committed by Tom Hacohen
parent e88adc60e3
commit 47ba581a24

@ -1,5 +1,4 @@
import * as React from 'react'; import * as React from 'react';
import Container from './Container';
import { TextField, Select, MenuItem, FormGroup, FormControlLabel, Checkbox, InputLabel, FormControl } from '@material-ui/core'; import { TextField, Select, MenuItem, FormGroup, FormControlLabel, Checkbox, InputLabel, FormControl } from '@material-ui/core';
import DateTimePicker from '../widgets/DateTimePicker'; import DateTimePicker from '../widgets/DateTimePicker';
import { isNumber } from 'util'; import { isNumber } from 'util';
@ -136,7 +135,7 @@ export default function RRuleEteSync(props: PropsType) {
}); });
return ( return (
<Container> <>
<div style={{ display: 'flex' }}> <div style={{ display: 'flex' }}>
<FormControlLabel <FormControlLabel
value={options.freq} value={options.freq}
@ -288,6 +287,6 @@ export default function RRuleEteSync(props: PropsType) {
/> />
} }
</div> </div>
</Container> </>
); );
} }

Loading…
Cancel
Save