fix error where key was not unique in the SearchSelect component when doing the team select
This commit is contained in:
parent
6ae0d1112d
commit
8a431127b4
1 changed files with 1 additions and 1 deletions
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue