mirror of
https://github.com/mountain-loop/yaak.git
synced 2025-12-23 22:48:55 -05:00
Fix dropdown menu keys
https://feedback.yaak.app/p/response-history-bug
This commit is contained in:
@@ -581,7 +581,8 @@ const Menu = forwardRef<Omit<DropdownRef, 'open' | 'isOpen' | 'toggle' | 'items'
|
||||
focused={i === selectedIndex}
|
||||
onFocus={handleFocus}
|
||||
onSelect={handleSelect}
|
||||
key={`item_${item.label}`}
|
||||
// biome-ignore lint/suspicious/noArrayIndexKey: It's fine
|
||||
key={i}
|
||||
item={item}
|
||||
/>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user