fix(v2): fix docs sidebar highlighting if link is partially matched (#2061)

This commit is contained in:
Endi 2019-11-28 00:18:33 +07:00 committed by Yangshun Tay
parent 5adb58380c
commit 6ff66567e5

View file

@ -71,6 +71,7 @@ function DocSidebarItem({item, onItemClick, collapsible}) {
<Link
activeClassName="menu__link--active"
className="menu__link"
exact
to={href}
onClick={onItemClick}>
{label}