app/packs/src/helpers/select2/select2.js
Function createSelect2
has 49 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function createSelect2(WrappedComponent) {
class Select2 extends Component {
constructor(props) {
super(props)
this.handleChange = this.handleChange.bind(this)