fix hash-link bug with left docs nav (#195)
This commit is contained in:
parent
ad10290fc4
commit
6e614142a1
@ -35,7 +35,7 @@ export const DocsLinks: FC<Props> = ({ navLinks, toggleMobileAccordion }) => {
|
||||
navLinks.reduce(
|
||||
(acc, navLink) => ({
|
||||
...acc,
|
||||
[navLink.id]: checkNavLinks({ items: navLink.items, pathCheck: asPath })
|
||||
[navLink.id]: checkNavLinks({ items: navLink.items, pathCheck: asPath.split('#')[0] })
|
||||
}),
|
||||
{}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user