* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
import classNames from 'classnames';
+import { uniqueId } from 'lodash';
import * as React from 'react';
import { translate } from '../../helpers/l10n';
import DeferredSpinner from '../ui/DeferredSpinner';
<SelectListListElement
disabled={this.isDisabled(element)}
element={element}
- key={element}
+ key={uniqueId()}
onSelect={this.props.onSelect}
onUnselect={this.props.onUnselect}
renderElement={this.props.renderElement}
<SelectListListElement
disabled={false}
element="foo"
- key="foo"
+ key="1"
onSelect={[MockFunction]}
onUnselect={[MockFunction]}
renderElement={[Function]}
<SelectListListElement
disabled={false}
element="bar"
- key="bar"
+ key="2"
onSelect={[MockFunction]}
onUnselect={[MockFunction]}
renderElement={[Function]}
<SelectListListElement
disabled={false}
element="baz"
- key="baz"
+ key="3"
onSelect={[MockFunction]}
onUnselect={[MockFunction]}
renderElement={[Function]}