We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cd7211b + bb4a311 commit d741f57Copy full SHA for d741f57
1 file changed
src/components/NavBar.tsx
@@ -92,9 +92,10 @@ const NavBar = ({
92
<MainNav isOpen={displayNavigation} toggleMenu={toggleNavigation} />
93
94
<nav aria-label={navAriaLabel && t(navAriaLabel)}>
95
- {links.map((link) =>
+ {links.map((link, index) =>
96
{return (hasAccess(link.accessRole, user) && (
97
<Link
98
+ key={index}
99
to={link.path}
100
className={cn({ active: location.pathname === link.path })}
101
onClick={() => {
0 commit comments