Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 1cab782

Browse files
committed
fix build
1 parent 4ccd27f commit 1cab782

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/nav/Navigation.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@ export function Navigation(props: React.ComponentPropsWithoutRef<'nav'>) {
1515
<ul role="list">
1616
{navigation.map((entry, groupIndex) =>
1717
'href' in entry ? (
18-
<li>
18+
<li key={entry.title}>
1919
<NavLink
2020
className={cn('pl-2', groupIndex === 0 ? 'md:mt-0' : '')}
21-
key={entry.title}
2221
active={entry.href === pathname}
2322
{...entry}
2423
>

0 commit comments

Comments
 (0)