fix error where key was not unique in the SearchSelect component when doing the team select

This commit is contained in:
csawatzky 2025-02-13 15:18:32 -06:00
parent 6ae0d1112d
commit 8a431127b4

View file

@ -177,7 +177,7 @@ export default function SearchSelect(props: Props) {
const { key, ...optionProps } = props; const { key, ...optionProps } = props;
return ( return (
<Box <Box
key={key} key={key + ":" + option.value}
component="li" component="li"
sx={{ '& > img': { mr: 2, flexShrink: 0 } }} sx={{ '& > img': { mr: 2, flexShrink: 0 } }}
{...optionProps} {...optionProps}