We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 452b83c commit 0fdb65fCopy full SHA for 0fdb65f
src/lib_components/components/NeonPage/NeonPage.jsx
@@ -431,9 +431,7 @@ const NeonPage = (props) => {
431
const { pathname } = window.location;
432
const matchedLink = sidebarLinks.find((link) => {
433
if (!link.match) return false;
434
-
435
const matches = Array.isArray(link.match) ? link.match : [link.match];
436
437
return matches.some((m) => pathname.includes(m));
438
});
439
return matchedLink?.hash || '#';
0 commit comments