aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/SummaryReportPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports/SummaryReportPage.js')
-rw-r--r--modern/src/reports/SummaryReportPage.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/reports/SummaryReportPage.js b/modern/src/reports/SummaryReportPage.js
index 8bf03a9a..b428ecf0 100644
--- a/modern/src/reports/SummaryReportPage.js
+++ b/modern/src/reports/SummaryReportPage.js
@@ -76,9 +76,9 @@ const SummaryReportPage = () => {
return item[key];
}
};
- const generateKey = (item) => {
- return `${ item.deviceId }_${Date.parse(item.startTime)}`;
- }
+
+ const generateKey = (item) => (`${item.deviceId}_${Date.parse(item.startTime)}`);
+
return (
<PageLayout menu={<ReportsMenu />} breadcrumbs={['reportTitle', 'reportSummary']}>
<ReportFilter handleSubmit={handleSubmit}>