Skip to content

Commit

Permalink
fix(v2): fix docs sidebar highlighting if link is partially matched (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
endiliey authored and yangshun committed Nov 27, 2019
1 parent 5adb583 commit 6ff6656
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ function DocSidebarItem({item, onItemClick, collapsible}) {
<Link
activeClassName="menu__link--active"
className="menu__link"
exact
to={href}
onClick={onItemClick}>
{label}
Expand Down

0 comments on commit 6ff6656

Please sign in to comment.