Skip to content

Commit

Permalink
Avoid key by index
Browse files Browse the repository at this point in the history
  • Loading branch information
micsucmed committed Nov 21, 2024
1 parent 64faf2e commit 83f4df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions indico_jacow/client/PeerReviewManagersFileInput.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,8 @@ function PeerReviewManagersFileField({onClose, eventId, onChange}) {
<Translate>The following emails are not registered and won't be imported:</Translate>
</MessageHeader>
<MessageList>
{unknownEmails.map((e, i) => (
<MessageItem key={i}>{e}</MessageItem>
{unknownEmails.map(e => (
<MessageItem key={e}>{e}</MessageItem>
))}
</MessageList>
</Message.Content>
Expand Down

0 comments on commit 83f4df0

Please sign in to comment.