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

import * as Paths from '../../Paths'
import { Loading } from '../../components'
import { MobilizationList, MobilizationListHeader }  from '../components'
import { fetchMobilizations, mobilizationsIsLoaded } from '../MobilizationActions'

class MobilizationListPage extends Component {

  render() {
    const { mobilization: { data, loading, loaded } } = this.props
    return (
      <div className="flex-auto bg-silver gray">
        <MobilizationListHeader redirectToAdd={() => Paths.newMobilization()} />
        {(!loading && loaded ?
          <MobilizationList
            redirectToEdit={id => Paths.editMobilization(id)}
            mobilizations={data} /> :
          <Loading />
        )}
      </div>
    )
  }
}

MobilizationListPage.propTypes = {
  mobilization: PropTypes.shape({
    data: PropTypes.array.isRequired,
    loaded: PropTypes.bool.isRequired,
    loading: PropTypes.bool.isRequired
  }).isRequired,  // UserDashboardContainer
}
<commit_msg>Fix warning props required<commit_after>import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'

import * as Paths from '../../Paths'
import { Loading } from '../../components'
import { MobilizationList, MobilizationListHeader }  from '../components'
import { fetchMobilizations, mobilizationsIsLoaded } from '../MobilizationActions'

class MobilizationListPage extends Component {

  render() {
    const { mobilization: { data, loading, loaded } } = this.props
    return (
      <div className="flex-auto bg-silver gray">
        <MobilizationListHeader redirectToAdd={() => Paths.newMobilization()} />
        {(!loading && loaded ?
          <MobilizationList
            redirectToEdit={id => Paths.editMobilization(id)}
            mobilizations={data} /> :
          <Loading />
        )}
      </div>
    )
  }
}

// UserDashboardContainer
MobilizationListPage.propTypes = {
  data: PropTypes.array,
  loaded: PropTypes.bool,
  loading: PropTypes.bool
}

{'fraction_non_alphanumeric': 0.12970106075216972, 'fraction_numerical': 0.0, 'mean_word_length': 3.125248508946322, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, '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': '1688236', 'n_tokens_mistral': 582, 'n_tokens_neox': 590, 'n_words': 134}