Skip to content

Commit

Permalink
fix: menu highlighting for Components (#133)
Browse files Browse the repository at this point in the history
Co-authored-by: Maksim Sitnikov <[email protected]>
  • Loading branch information
imsitnikov and Maksim Sitnikov authored Nov 7, 2023
1 parent ac2e922 commit 741f2bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Menu/Menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export const Menu: React.FC = () => {
<div
key={item.title}
className={b('desktop-menu-item', {
active: router.pathname.startsWith(item.url),
active: router.asPath.startsWith(item.url),
})}
>
{item.isComingSoon ? (
Expand Down

0 comments on commit 741f2bd

Please sign in to comment.