Skip to content

Commit

Permalink
fix code smell
Browse files Browse the repository at this point in the history
  • Loading branch information
aeworxet committed Jun 6, 2024
1 parent 1ceb4e8 commit 770323f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/ui/components/DropdownMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ export const DropdownMenu: FunctionComponent<DropdownMenuProps> = ({
<RadixDropdownMenu.Portal>
<RadixDropdownMenu.Content className="min-w-[220px] bg-gray-950 rounded-md p-2.5 shadow" sideOffset={5} side={side} align={align}>
{
items.map((item, index) => (
<DropdownMenuItemComponent key={index} item={item} />
items.map((item) => (
<DropdownMenuItemComponent key={+item} item={item} />
))
}
<RadixDropdownMenu.Arrow className="fill-gray-950" />
Expand Down

0 comments on commit 770323f

Please sign in to comment.