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 6a1fe309..8d71d50b 100644
--- a/modern/src/reports/EventReportPage.js
+++ b/modern/src/reports/EventReportPage.js
@@ -116,7 +116,7 @@ const EventReportPage = () => {
multiple
>
{typesArray.map(([key, string]) => (
- <MenuItem value={key}>{t(string)}</MenuItem>
+ <MenuItem key={key} value={key}>{t(string)}</MenuItem>
))}
</Select>
</FormControl>
@@ -131,8 +131,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)}