Skip to content

Commit

Permalink
Add missing key to TableOfContents list
Browse files Browse the repository at this point in the history
  • Loading branch information
bensmithett committed Aug 30, 2022
1 parent 065ec9e commit de94f98
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function List({ list }) {
return (
<ul>
{list.map(({ value, id, children }) => (
<li>
<li key={id}>
<a href={`#${id}`}>{value}</a>
{children && <List list={children} />}
</li>
Expand Down

0 comments on commit de94f98

Please sign in to comment.