Skip to content

Commit

Permalink
unique keys
Browse files Browse the repository at this point in the history
  • Loading branch information
tfhuhtal committed Oct 1, 2024
1 parent a4cef4d commit 7619285
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/components/Generic/TrackingTrafficLight.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const TrackingTrafficLight = ({ id, form }) => {
<Menu secondary style={{ display: 'flex', flexWrap: 'wrap' }}>
{displayedHistory.length ? (
displayedHistory.map((entry, index) => (
<Menu.Item>
<Menu.Item key={`${entry.date}-${index}`}>
<span className={`answer-circle-big-${entry.color}`} />
<i>
{new Date(entry.date)
Expand Down

0 comments on commit 7619285

Please sign in to comment.