Skip to content

Commit 5383283

Browse files
canerakdasCopilot
andauthored
Update src/generators/web/ui/utils/sidebar.mjs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 105243b commit 5383283

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/generators/web/ui/utils/sidebar.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ export const buildSideBarGroups = (items, defaultGroupName = 'Others') => {
4040
continue;
4141
}
4242

43-
const items = groups.get(resolvedCategory) ?? [];
44-
items.push({ label, link });
45-
groups.set(resolvedCategory, items);
43+
const groupItems = groups.get(resolvedCategory) ?? [];
44+
groupItems.push({ label, link });
45+
groups.set(resolvedCategory, groupItems);
4646
}
4747

4848
// Convert the groups map to an array while preserving the original order of categories

0 commit comments

Comments
 (0)