Fix dropdown menu keys

https://feedback.yaak.app/p/response-history-bug
This commit is contained in:
Gregory Schier
2025-12-01 06:32:04 -08:00
parent ba6e64ef37
commit 9ed3dacd28

View File

@@ -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}
/>
);