Skip to content

Commit

Permalink
add missing key
Browse files Browse the repository at this point in the history
  • Loading branch information
kayoshi committed May 14, 2024
1 parent b8142e7 commit f6ca79f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/map/map.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ export default function CasesMap({ cases }) {

<div>
{selectedCases.map((c) =>
<div className='mt-4'>
<CaseDetails props={c.properties} key={c.properties.id}></CaseDetails>
<div className='mt-4' key={c.properties.id}>
<CaseDetails props={c.properties}></CaseDetails>
</div>
)}
</div>
Expand Down

0 comments on commit f6ca79f

Please sign in to comment.