aboutsummaryrefslogtreecommitdiff
path: root/modern/src/reports/StopReportPage.js
diff options
context:
space:
mode:
authorAnton Tananaev <anton@traccar.org>2022-05-22 12:16:33 -0700
committerAnton Tananaev <anton@traccar.org>2022-05-22 12:16:33 -0700
commit9be7c49b2c59160e12f1787ab91f010b22fa6844 (patch)
tree102433422cb3a7a47dbd88a767b3baeb7681fffd /modern/src/reports/StopReportPage.js
parent81111395638f103b336c47d823be3763e01982e5 (diff)
downloadtrackermap-web-9be7c49b2c59160e12f1787ab91f010b22fa6844.tar.gz
trackermap-web-9be7c49b2c59160e12f1787ab91f010b22fa6844.tar.bz2
trackermap-web-9be7c49b2c59160e12f1787ab91f010b22fa6844.zip
Fix list key warnings
Diffstat (limited to 'modern/src/reports/StopReportPage.js')
-rw-r--r--modern/src/reports/StopReportPage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modern/src/reports/StopReportPage.js b/modern/src/reports/StopReportPage.js
index dc2ac19a..5e1c2a66 100644
--- a/modern/src/reports/StopReportPage.js
+++ b/modern/src/reports/StopReportPage.js
@@ -80,14 +80,14 @@ const StopReportPage = () => {
<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>
))}