partner active nav
This commit is contained in:
@ -82,7 +82,12 @@ export const Navigation = () => {
|
||||
key={index}
|
||||
end
|
||||
to={link.path === "/Quiz" ? link.path : `/profile${link.path}`}
|
||||
className={currentPath.includes(link.path) || currentPath.includes(link.active) ? "active" : ""}
|
||||
className={
|
||||
currentPath.includes(link.path) ||
|
||||
currentPath.includes(link.active)
|
||||
? "active"
|
||||
: ""
|
||||
}
|
||||
>
|
||||
{link.name}
|
||||
</NavLink>
|
||||
|
Reference in New Issue
Block a user