<commit_before>import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import ArchiveView from './ArchiveView';
import {NavigationActions} from 'react-navigation';
import * as ArchiveStateActions from '../archive/ArchiveState';

export default connect(
  state => ({
    value: state.getIn(['inbox', 'value'])&& state.getIn(['inbox', 'value']).toJS?state.getIn(['inbox', 'value']).toJS():state.getIn(['inbox', 'value']),
    userInfo: state.getIn(['login', 'userInfo'])&& state.getIn(['login', 'userInfo']).toJS?state.getIn(['login', 'userInfo']).toJS():state.getIn(['login', 'userInfo']),
    loadMore: state.getIn(['inbox', 'loadMore'])
  }),
  dispatch => {
    return {
      navigate: bindActionCreators(NavigationActions.navigate, dispatch),
      ArchiveStateActions: bindActionCreators(ArchiveStateActions, dispatch)
    };
  }
)(ArchiveView);<commit_msg>fix bug - Bug 214479:The archived message can't be synchronized to mobile<commit_after>import {connect} from 'react-redux';
import {bindActionCreators} from 'redux';
import ArchiveView from './ArchiveView';
import {NavigationActions} from 'react-navigation';
import * as ArchiveStateActions from '../archive/ArchiveState';

export default connect(
  state => ({
    value: state.getIn(['archive', 'value'])&& state.getIn(['archive', 'value']).toJS?state.getIn(['archive', 'value']).toJS():state.getIn(['archive', 'value']),
    userInfo: state.getIn(['login', 'userInfo'])&& state.getIn(['login', 'userInfo']).toJS?state.getIn(['login', 'userInfo']).toJS():state.getIn(['login', 'userInfo']),
    loadMore: state.getIn(['inbox', 'loadMore'])
  }),
  dispatch => {
    return {
      navigate: bindActionCreators(NavigationActions.navigate, dispatch),
      ArchiveStateActions: bindActionCreators(ArchiveStateActions, dispatch)
    };
  }
)(ArchiveView);
{'fraction_non_alphanumeric': 0.18967391304347825, 'fraction_numerical': 0.003260869565217391, 'mean_word_length': 6.163424124513619, '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': '1680211', 'n_tokens_mistral': 571, 'n_tokens_neox': 552, 'n_words': 111}