partner active nav
This commit is contained in:
parent
d2b53392fa
commit
990abb491b
@ -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>
|
||||
|
@ -107,7 +107,10 @@ export const PartnerBid = () => {
|
||||
links={[
|
||||
{ name: "Главная", link: "/profile" },
|
||||
{ name: "Запросы и открытые позиции", link: "/profile/requests" },
|
||||
{ name: "Просмотр заявки - PHP разработчик", link: "/profile/requests-bid" }
|
||||
{
|
||||
name: "Просмотр заявки - PHP разработчик",
|
||||
link: "/profile/requests-bid"
|
||||
}
|
||||
]}
|
||||
/>
|
||||
<h2 className="partner-bid__title">Страница заявки </h2>
|
||||
|
Loading…
Reference in New Issue
Block a user