fix: search items ensure unique keys (#597)

This commit is contained in:
GinWU 2024-09-24 12:21:39 +08:00 committed by GitHub
parent afe2f81333
commit ff14738eea
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -253,7 +253,7 @@ const SearchItem = memo(function Item({
styles["content-visually"],
)}
key={`${id}-${feedId}-${entryId}`}
id={`${id}-${feedId}-${entryId}`}
value={`${id}-${feedId}-${entryId}`}
onSelect={() => {
navigateEntry({
feedId: feedId!,