nav url link check
This commit is contained in:
parent
d811c9ccb1
commit
6c1c8a6b48
|
|
@ -52,7 +52,11 @@ const Nav = ({ dropdown, setDropdown }: dropdown) => {
|
|||
>
|
||||
<Link to={"/news"}>Новости и события</Link>
|
||||
</li>
|
||||
<li>
|
||||
<li
|
||||
className={
|
||||
location.pathname.includes("tournaments") ? "active" : ""
|
||||
}
|
||||
>
|
||||
<Link to={"/tournaments"}>Турниры</Link>
|
||||
</li>
|
||||
<li
|
||||
|
|
|
|||
Loading…
Reference in New Issue