diff options
Diffstat (limited to 'modern/src/reports/EventReportPage.js')
-rw-r--r-- | modern/src/reports/EventReportPage.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modern/src/reports/EventReportPage.js b/modern/src/reports/EventReportPage.js index 8d71d50b..b312ad2f 100644 --- a/modern/src/reports/EventReportPage.js +++ b/modern/src/reports/EventReportPage.js @@ -94,7 +94,6 @@ const EventReportPage = () => { return item[key]; } }; - return ( <PageLayout menu={<ReportsMenu />} breadcrumbs={['reportTitle', 'reportEvents']}> <ReportFilter handleSubmit={handleSubmit}> @@ -131,8 +130,8 @@ const EventReportPage = () => { </TableRow> </TableHead> <TableBody> - {items.map((item, index) => ( - <TableRow key={index}> + {items.map((item) => ( + <TableRow key={item.id}> {columns.map((key) => ( <TableCell key={key}> {formatValue(item, key)} |