mirror of
https://github.com/house-of-vanity/OutFleet.git
synced 2025-10-24 01:09:08 +00:00
fix: key in map nav-menu
This commit is contained in:
@@ -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