Skip to content

Commit

Permalink
feat(frontend): fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
hkdeman committed Aug 18, 2024
1 parent 25a8c2f commit ecac4f6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ export const Dropdown: FC<IDropdownProps> = (props) => {
})}>
<ul className="py-1 text-sm text-gray-700 nowheel flex flex-col">
{
props.items.map((item) => (
<li key={item.id} className={classNames(ITEM_CLASS, {
props.items.map((item, i) => (
<li key={`dropdown-item-${i}`} className={classNames(ITEM_CLASS, {
"hover:gap-2": item.icon != null,
})} onClick={() => handleClick(item)}>
<div>{props.value?.id === item.id ? Icons.CheckCircle : item.icon}</div>
Expand Down
Loading

0 comments on commit ecac4f6

Please sign in to comment.