refactor(v2): remove extra active CSS class for menu item links (#2766)

This commit is contained in:
Alexey Pyltsyn 2020-05-18 06:22:12 +03:00 committed by GitHub
parent 48b2b753bb
commit eed2ade7b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -89,7 +89,6 @@ function DocSidebarItem({
{...(isInternalUrl(href) {...(isInternalUrl(href)
? { ? {
isNavLink: true, isNavLink: true,
activeClassName: 'menu__link--active',
exact: true, exact: true,
onClick: onItemClick, onClick: onItemClick,
} }