hotfix: add keys in Dropdown map

This commit is contained in:
George Lima 2018-12-19 10:49:30 -03:00
parent 9c198d00f1
commit 93860eaa93
1 changed files with 1 additions and 1 deletions

View File

@ -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>
))}