diff --git a/src/components/autosuggest-category/autosuggest-category.tsx b/src/components/autosuggest-category/autosuggest-category.tsx index edd524311e..9f92d4a32c 100644 --- a/src/components/autosuggest-category/autosuggest-category.tsx +++ b/src/components/autosuggest-category/autosuggest-category.tsx @@ -40,7 +40,7 @@ const AutosuggestCategory: FC = ({ "autosuggest__text-item--highlight": highlightedIndex === index } )} - key={item.term + (item.work?.workId || "")} + key={`${item.term}-${index}`} {...getItemProps({ item, index })} data-cy={dataCy} >