Skip to content

Commit 6b03d4f

Browse files
committed
fix missing key prop
1 parent c844732 commit 6b03d4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/learn/[track]/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default function Index(props: Props) {
3636
<small>{props.track.lessons.length} lessons</small>
3737
<ul>
3838
{props.track.lessons.map((i) => {
39-
return <li>{i.name}</li>
39+
return <li key={i.id}>{i.name}</li>
4040
})}
4141
</ul>
4242

0 commit comments

Comments
 (0)