hotfix: add keys in Dropdown map
This commit is contained in:
parent
9c198d00f1
commit
93860eaa93
|
@ -90,7 +90,7 @@ export class DropdownComponent extends Component<Props, State> {
|
|||
</MenuItem>
|
||||
)}
|
||||
{options.map(({ label: optionLabel, onClick }) => (
|
||||
<MenuItem onClick={onClick}>
|
||||
<MenuItem onClick={onClick} key={optionLabel}>
|
||||
<TextComponent value={optionLabel} />
|
||||
</MenuItem>
|
||||
))}
|
||||
|
|
Loading…
Reference in New Issue