Skip to content

Commit c96ae3e

Browse files
committed
fix: react list key
1 parent 038ee6a commit c96ae3e

File tree

1 file changed

+1
-1
lines changed
  • src/components/cv/sections/noteworthy

1 file changed

+1
-1
lines changed

src/components/cv/sections/noteworthy/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import AnchoredHeader from '@lib/anchored-header.jsx';
44

55
export default class Noteworthy extends Component {
66
render() {
7-
const entries = this.props.data.map(entry => <li>{entry}</li>);
7+
const entries = this.props.data.map((entry, i) => <li key={i}>{entry}</li>);
88

99
return (
1010
<section>

0 commit comments

Comments
 (0)