We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0dcdfe7 commit 2bb377bCopy full SHA for 2bb377b
components/SideBar.tsx
@@ -90,15 +90,15 @@ export function SideBar() {
90
91
return (
92
<Container>
93
- {CATEGORIES.map((e) => (
94
- <>
+ {CATEGORIES.map((e, i) => (
+ <React.Fragment key={i}>
95
<Category>{e.category}</Category>
96
- {e.items.map((e) => (
97
- <Link href={e.url} passHref>
+ {e.items.map((e, i) => (
+ <Link key={i} href={e.url} passHref>
98
<Item current={router.asPath === e.url}>{e.name}</Item>
99
</Link>
100
))}
101
- </>
+ </React.Fragment>
102
103
</Container>
104
);
0 commit comments