fix a linting error (#2895)

This commit is contained in:
Grace Guo 2017-06-02 15:52:39 -07:00 committed by GitHub
parent 04fb0e2c2d
commit 0d3f57a78d
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ export default class SelectControl extends React.PureComponent {
clearable: this.props.clearable,
isLoading: this.props.isLoading,
onChange: this.onChange,
optionRenderer: (opt) => opt.label,
optionRenderer: opt => opt.label,
};
// Tab, comma or Enter will trigger a new option created for FreeFormSelect
const selectWrap = this.props.freeForm ?