Skip to content

Commit

Permalink
fix theme-doc menu label
Browse files Browse the repository at this point in the history
  • Loading branch information
csr632 committed Jun 13, 2022
1 parent 4c97879 commit 3b4d8ae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/theme-doc/src/Layout/renderMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ export const renderMenuHelper = (isTopNav: boolean) =>
return {
key: item.subMenu,
icon: leftIcon,
title: (
label: (
<>
{item.subMenu}
{rightIcon}
Expand All @@ -86,7 +86,7 @@ export const renderMenuHelper = (isTopNav: boolean) =>
return {
type: 'group',
key: item.group,
title: item.group,
label: item.group,
children: renderMenu(item.children),
}
}
Expand Down

0 comments on commit 3b4d8ae

Please sign in to comment.