app/javascript/components/SweetSelect/SweetSelect.js
Function render
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const className = classnames('sweet-placeholder__label', {
'sweet-placeholder__label--full':
!!this.props.value && !this.state.focused,
'sweet-placeholder__label--active': this.state.focused,