Skip to content

Commit 832ce36

Browse files
committed
fix: remove unused index parameter in dynamicNav forEach
1 parent cfc14ec commit 832ce36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/sidebar/dynamicNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export const renderChildren = (
7878

7979
const result: React.ReactNode[] = [];
8080

81-
sortedChildren.forEach(({node, children: nodeChildren}, index) => {
81+
sortedChildren.forEach(({node, children: nodeChildren}) => {
8282
// will not be null because of the filter above
8383
if (!node) {
8484
return;

0 commit comments

Comments
 (0)