<commit_before>import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Post from './post';
import * as actions from '../actions';

export default connect(state => state, dispatch => bindActionCreators(actions, dispatch))(Post);<commit_msg>Need to destructure for react, I guess<commit_after>import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Post from './post';
import * as actions from '../actions';

export default connect(
  state => ({user: state.user, post: state.post, comments: state.comments}),
  dispatch => bindActionCreators(actions, dispatch)
)(Post);
{'fraction_non_alphanumeric': 0.1430817610062893, 'fraction_numerical': 0.0, 'mean_word_length': 5.705263157894737, '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': '731309', 'n_tokens_mistral': 175, 'n_tokens_neox': 174, 'n_words': 60}