mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-19 15:21:23 +02: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}
|
focused={i === selectedIndex}
|
||||||
onFocus={handleFocus}
|
onFocus={handleFocus}
|
||||||
onSelect={handleSelect}
|
onSelect={handleSelect}
|
||||||
key={`item_${item.label}`}
|
// biome-ignore lint/suspicious/noArrayIndexKey: It's fine
|
||||||
|
key={i}
|
||||||
item={item}
|
item={item}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user