about summary refs log tree commit diff
path: root/app/assets/javascripts/components/containers/status_list_container.jsx
blob: bbf8a8876c4e4ab63ef3df04f60c874e0db9c60c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
import { connect } from 'react-redux';
import StatusList  from '../components/status_list';

const mapStateToProps = function (state, props) {
  return {
    statuses: state.getIn(['timelines', props.type])
  };
};

export default connect(mapStateToProps)(StatusList);