You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
269 B

  1. import { connect } from 'react-redux';
  2. import StatusList from '../components/status_list';
  3. const mapStateToProps = function (state, props) {
  4. return {
  5. statuses: state.getIn(['timelines', props.type])
  6. };
  7. };
  8. export default connect(mapStateToProps)(StatusList);