<commit_before>import React, { Component, PropTypes } from 'react';

import WidgetBoard from '../components/WidgetBoard';

class WidgetBoardContainer extends Component {
  render() {
    return (
      <WidgetBoard />
    );
  }
}

WidgetBoardContainer.propTypes = {

};

export default WidgetBoardContainer;<commit_msg>Map state to widget.<commit_after>import React, { Component, PropTypes } from 'react';
import { connect } from 'react-redux';

import WidgetBoard from '../components/WidgetBoard';

class WidgetBoardContainer extends Component {
  constructor(props) {
    super(props);
  }

  render() {
    const { widgets, dispatch } = this.props;

    return (
      <WidgetBoard widgets={widgets} dispatch={dispatch}  />
    );
  }
}

WidgetBoardContainer.propTypes = {

};

const mapStateToProps = (state) => ({
  widgets: state.widgets
});

export default connect(mapStateToProps)(WidgetBoardContainer);
{'fraction_non_alphanumeric': 0.12280701754385964, 'fraction_numerical': 0.0, 'mean_word_length': 4.1875, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, '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': '1192036', 'n_tokens_mistral': 260, 'n_tokens_neox': 260, 'n_words': 61}