mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2026-11-08 16:58:50 +00:00
fix: key in map nav-menu
This commit is contained in:
1 parent
d264968cc8
commit
de6f4bc6f9
1 file changed
+1
@@ -18,6 +18,7 @@ export const NavMenu = (props: NavMenuProps) => {
|
|||||||
<div className="tabs">
|
<div className="tabs">
|
||||||
{items.map(({ href, label }) => (
|
{items.map(({ href, label }) => (
|
||||||
<Link
|
<Link
|
||||||
|
key={label}
|
||||||
className={clsx('tab', {
|
className={clsx('tab', {
|
||||||
active: href === pathname,
|
active: href === pathname,
|
||||||
})}
|
})}
|
||||||
|
|||||||
Reference in new issue
Block a user