<commit_before>import React, { Component } from 'react';
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux';

const mapStateToProps = rootState => ({

})

const mapDispatchToProps = (dispatch) => ({
    action1:() => {dispatch({ type:'action1' })} , 
    action2:() => {dispatch({ type: 'action2'})}
})

export default connect(mapStateToProps, mapDispatchToProps)()<commit_msg>link HomeView component to its HomeContainer<commit_after>import React, { Component } from 'react';
import { bindActionCreators } from 'redux'
import { connect } from 'react-redux';
import HomeView from '../view/HomeView.js';

const mapStateToProps = rootState => ({
    homeState:rootState
})

const mapDispatchToProps = (dispatch) => ({
    action1:() => {dispatch({ type:'action1' })} , 
    action2:() => {dispatch({ type: 'action2'})}
})

export default connect(mapStateToProps, mapDispatchToProps)(HomeView)
{'fraction_non_alphanumeric': 0.15978260869565217, 'fraction_numerical': 0.008695652173913044, 'mean_word_length': 5.531914893617022, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '5972715', 'n_tokens_mistral': 281, 'n_tokens_neox': 278, 'n_words': 69}