Skip to content

Commit

Permalink
fix: react list key
Browse files Browse the repository at this point in the history
  • Loading branch information
lfilho committed Aug 16, 2024
1 parent 038ee6a commit c96ae3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/cv/sections/noteworthy/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import AnchoredHeader from '@lib/anchored-header.jsx';

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

return (
<section>
Expand Down

0 comments on commit c96ae3e

Please sign in to comment.