We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 105243b commit 5383283Copy full SHA for 5383283
1 file changed
src/generators/web/ui/utils/sidebar.mjs
@@ -40,9 +40,9 @@ export const buildSideBarGroups = (items, defaultGroupName = 'Others') => {
40
continue;
41
}
42
43
- const items = groups.get(resolvedCategory) ?? [];
44
- items.push({ label, link });
45
- groups.set(resolvedCategory, items);
+ const groupItems = groups.get(resolvedCategory) ?? [];
+ groupItems.push({ label, link });
+ groups.set(resolvedCategory, groupItems);
46
47
48
// Convert the groups map to an array while preserving the original order of categories
0 commit comments