diff options
Diffstat (limited to 'modern/src/reports/TripReportPage.js')
-rw-r--r-- | modern/src/reports/TripReportPage.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/TripReportPage.js b/modern/src/reports/TripReportPage.js index 6e230388..e6e13d56 100644 --- a/modern/src/reports/TripReportPage.js +++ b/modern/src/reports/TripReportPage.js @@ -89,14 +89,14 @@ const TripReportPage = () => { <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}> {formatValue(item, key)} </TableCell> ))} |