<commit_before>import { PureComponent } from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';

import actions from './ndc-content-overview-provider-actions';
import reducers, {
  initialState
} from './ndc-content-overview-provider-reducers';

class ndcContentOverviewProvider extends PureComponent {
  componentDidMount() {
    const { locations, getNDCContentOverview } = this.props;
    getNDCContentOverview(locations);
  }

  componentDidUpdate(prevProps) {
    const { locations, getNDCContentOverview } = this.props;
    if (locations !== prevProps.locations) getNDCContentOverview(locations);
  }

  render() {
    return null;
  }
}

ndcContentOverviewProvider.propTypes = {
  locations: PropTypes.array.isRequired,
  getNDCContentOverview: PropTypes.func.isRequired
};

export { actions, reducers, initialState };
export default connect(null, actions)(ndcContentOverviewProvider);<commit_msg>Fix typo<commit_after>import { PureComponent } from 'react';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';

import actions from './ndc-content-overview-provider-actions';
import reducers, {
  initialState
} from './ndc-content-overview-provider-reducers';

class ndcContentOverviewProvider extends PureComponent {
  componentDidMount() {
    const { locations, getNdcContentOverview } = this.props;
    getNdcContentOverview(locations);
  }

  componentDidUpdate(prevProps) {
    const { locations, getNdcContentOverview } = this.props;
    if (locations !== prevProps.locations) getNdcContentOverview(locations);
  }

  render() {
    return null;
  }
}

ndcContentOverviewProvider.propTypes = {
  locations: PropTypes.array.isRequired,
  getNdcContentOverview: PropTypes.func.isRequired
};

export { actions, reducers, initialState };
export default connect(null, actions)(ndcContentOverviewProvider);
{'fraction_non_alphanumeric': 0.10807918673087212, 'fraction_numerical': 0.0, 'mean_word_length': 5.3175675675675675, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4158768', 'n_tokens_mistral': 561, 'n_tokens_neox': 533, 'n_words': 112}