Skip to content

Commit 74c009d

Browse files
author
James Cori
committed
Fixing key warning
1 parent cff31c6 commit 74c009d

File tree

1 file changed

+1
-1
lines changed
  • src/components/ChallengeEditor/ChallengeView

1 file changed

+1
-1
lines changed

src/components/ChallengeEditor/ChallengeView/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ const ChallengeView = ({
165165
)}
166166
<div>
167167
{ challenge.discussions && challenge.discussions.map(d => (
168-
<div className={cn(styles.row, styles.topRow)}>
168+
<div key={d.id} className={cn(styles.row, styles.topRow)}>
169169
<div className={styles.col}>
170170
<span><span className={styles.fieldTitle}>Forum:</span> <a href={d.url} target='_blank' rel='noopener noreferrer'>{d.name}</a></span>
171171
</div>

0 commit comments

Comments
 (0)