<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import Select, { Creatable } from 'react-select';

import { get } from '../../store';
import { maybeHas } from '../../helpers';

const FuzzyOrNativeSelect = connect(state => {
    return {
        useNativeSelect: get.isSmallScreen(state)
    };
})(
    class Export extends React.Component {
        handleChange = event => {
            let value;
            if (event && maybeHas(event, "target") && maybeHas(event.target, "value")) {
                value = event.target.value;
            } else if (event && maybeHas(event, "value")) {
                value = event.value;
            } else {
                value = event;
            }<commit_msg>Fix lint;<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import { connect } from 'react-redux';
import Select, { Creatable } from 'react-select';

import { get } from '../../store';
import { maybeHas } from '../../helpers';

const FuzzyOrNativeSelect = connect(state => {
    return {
        useNativeSelect: get.isSmallScreen(state)
    };
})(
    class Export extends React.Component {
        handleChange = event => {
            let value;
            if (event && maybeHas(event, 'target') && maybeHas(event.target, 'value')) {
                value = event.target.value;
            } else if (event && maybeHas(event, 'value')) {
                value = event.value;
            } else {
                value = event;
            }
{'fraction_non_alphanumeric': 0.1405440414507772, 'fraction_numerical': 0.0, 'mean_word_length': 2.1402439024390243, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '925699', 'n_tokens_mistral': 422, 'n_tokens_neox': 415, 'n_words': 115}