Skip to content

Commit fc7fc33

Browse files
authored
Merge branch 'master' into fix/responsive-layout
2 parents f0497b0 + cbb4e16 commit fc7fc33

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/components/SistentNavigation

src/components/SistentNavigation/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ const TOC = () => {
139139
<Link
140140
to={component.url}
141141
className={`toc-sub-heading toc-sub-inline components-item ${
142-
location.pathname.includes(component.url)
142+
location.pathname === component.url
143143
? "active"
144144
: ""
145145
}`}

0 commit comments

Comments
 (0)