Skip to content

Commit 0fdb65f

Browse files
committed
Update NeonPage.jsx
1 parent 452b83c commit 0fdb65f

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/lib_components/components/NeonPage/NeonPage.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,9 +431,7 @@ const NeonPage = (props) => {
431431
const { pathname } = window.location;
432432
const matchedLink = sidebarLinks.find((link) => {
433433
if (!link.match) return false;
434-
435434
const matches = Array.isArray(link.match) ? link.match : [link.match];
436-
437435
return matches.some((m) => pathname.includes(m));
438436
});
439437
return matchedLink?.hash || '#';

0 commit comments

Comments
 (0)