Skip to content

Commit

Permalink
Add li tag
Browse files Browse the repository at this point in the history
  • Loading branch information
salimi-my committed May 2, 2024
1 parent 84342f1 commit 1ffd898
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions src/components/demo/menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,14 +61,15 @@ export function Menu({ isOpen }: MenuProps) {
</TooltipProvider>
</li>
) : (
<CollapseMenuButton
key={index}
icon={Icon}
label={label}
active={active}
submenus={submenus}
isOpen={isOpen}
/>
<li className="w-full" key={index}>
<CollapseMenuButton
icon={Icon}
label={label}
active={active}
submenus={submenus}
isOpen={isOpen}
/>
</li>
)
)}
<li className="w-full grow flex items-end">
Expand Down

0 comments on commit 1ffd898

Please sign in to comment.