replace fragment with empty jsx tags

This commit is contained in:
Erik Sundell
2019-01-08 13:00:31 +01:00
parent e71e2b3035
commit f9f51d6819
9 changed files with 28 additions and 28 deletions

View File

@ -138,7 +138,7 @@ export class QueryEditor extends React.Component<Props, State> {
const { datasource } = this.props;
return (
<React.Fragment>
<>
<Metrics
defaultProject={defaultProject}
metricType={metricType}
@ -147,7 +147,7 @@ export class QueryEditor extends React.Component<Props, State> {
onChange={value => this.handleMetricTypeChange(value)}
>
{metric => (
<React.Fragment>
<>
<Filter
filtersChanged={value => this.handleChange('filters', value)}
groupBysChanged={value => this.handleChange('groupBys', value)}
@ -184,10 +184,10 @@ export class QueryEditor extends React.Component<Props, State> {
onChange={value => this.handleChange('alignmentPeriod', value)}
/>
<Help datasource={datasource} rawQuery={lastQuery} lastQueryError={lastQueryError} />
</React.Fragment>
</>
)}
</Metrics>
</React.Fragment>
</>
);
}
}