aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/ChartReportPage.js
diff options
context:
space:
mode:
authorAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-12-05 18:55:04 +0530
committerAshutosh Bishnoi <mail2bishnoi@gmail.com>2020-12-05 18:55:04 +0530
commit63cd33bd73ff5cdd6a619e271281f846d66f8a0a (patch)
treecdc0e457523db34b9cf3b920196abda61344f64a /modern/src/reports/ChartReportPage.js
parentb497c4fbf7caabd38b902d225ae0229b33323309 (diff)
downloadtrackermap-web-63cd33bd73ff5cdd6a619e271281f846d66f8a0a.tar.gz
trackermap-web-63cd33bd73ff5cdd6a619e271281f846d66f8a0a.tar.bz2
trackermap-web-63cd33bd73ff5cdd6a619e271281f846d66f8a0a.zip
Chart type report code formatting
Diffstat (limited to 'modern/src/reports/ChartReportPage.js')
-rw-r--r--modern/src/reports/ChartReportPage.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/modern/src/reports/ChartReportPage.js b/modern/src/reports/ChartReportPage.js
index 841f1e73..6177341b 100644
--- a/modern/src/reports/ChartReportPage.js
+++ b/modern/src/reports/ChartReportPage.js
@@ -33,17 +33,17 @@ const ReportFilterForm = ({ setItems, type, setType }) => {
}
return (
- <React.Fragment>
+ <>
<ReportFilter handleSubmit={handleSubmit} showOnly />
<FormControl variant="filled" margin="normal" fullWidth>
- <InputLabel>{t('reportChartType')}</InputLabel>
- <Select value={type} onChange={e => setType(e.target.value)}>
- <MenuItem value="speed">{t('positionSpeed')}</MenuItem>
- <MenuItem value="accuracy">{t('positionAccuracy')}</MenuItem>
- <MenuItem value="altitude">{t('positionAltitude')}</MenuItem>
- </Select>
+ <InputLabel>{t('reportChartType')}</InputLabel>
+ <Select value={type} onChange={e => setType(e.target.value)}>
+ <MenuItem value="speed">{t('positionSpeed')}</MenuItem>
+ <MenuItem value="accuracy">{t('positionAccuracy')}</MenuItem>
+ <MenuItem value="altitude">{t('positionAltitude')}</MenuItem>
+ </Select>
</FormControl>
- </React.Fragment>
+ </>
)
};