diff options
Diffstat (limited to 'modern/src/reports/StatisticsPage.js')
-rw-r--r-- | modern/src/reports/StatisticsPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/StatisticsPage.js b/modern/src/reports/StatisticsPage.js index b1652468..9ed830eb 100644 --- a/modern/src/reports/StatisticsPage.js +++ b/modern/src/reports/StatisticsPage.js @@ -50,14 +50,14 @@ const StatisticsPage = () => { <Table> <TableHead> <TableRow> - {columns.map((key) => (<TableCell>{t(columnsMap.get(key))}</TableCell>))} + {columns.map((key) => (<TableCell key={key}>{t(columnsMap.get(key))}</TableCell>))} </TableRow> </TableHead> <TableBody> {items.map((item) => ( <TableRow key={item.id}> {columns.map((key) => ( - <TableCell> + <TableCell key={key}> {key === 'captureTime' ? formatDate(item[key]) : item[key]} </TableCell> ))} |