Merge remote-tracking branch 'geth-website/master' into geth-nextjs
This commit is contained in:
commit
fac99f3cf9
@ -35,7 +35,7 @@ export const DocsLinks: FC<Props> = ({ navLinks, toggleMobileAccordion }) => {
|
|||||||
navLinks.reduce(
|
navLinks.reduce(
|
||||||
(acc, navLink) => ({
|
(acc, navLink) => ({
|
||||||
...acc,
|
...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