aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/EventReportPage.js
diff options
context:
space:
mode:
Diffstat (limited to 'modern/src/reports/EventReportPage.js')
-rw-r--r--modern/src/reports/EventReportPage.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/modern/src/reports/EventReportPage.js b/modern/src/reports/EventReportPage.js
index 8a3a070f..bd0ad68b 100644
--- a/modern/src/reports/EventReportPage.js
+++ b/modern/src/reports/EventReportPage.js
@@ -115,7 +115,7 @@ const EventReportPage = () => {
multiple
>
{typesArray.map(([key, string]) => (
- <MenuItem value={key}>{t(string)}</MenuItem>
+ <MenuItem key={key} value={key}>{t(string)}</MenuItem>
))}
</Select>
</FormControl>
@@ -130,8 +130,8 @@ const EventReportPage = () => {
</TableRow>
</TableHead>
<TableBody>
- {items.map((item) => (
- <TableRow key={item.id}>
+ {items.map((item, index) => (
+ <TableRow key={index}>
{columns.map((key) => (
<TableCell key={key}>
{formatValue(item, key)}