2016-08-25 01:56:44 +10:00
|
|
|
import { connect } from 'react-redux';
|
|
|
|
import StatusList from '../components/status_list';
|
|
|
|
|
|
|
|
const mapStateToProps = function (state, props) {
|
|
|
|
return {
|
2016-09-01 00:15:12 +10:00
|
|
|
statuses: state.getIn(['timelines', props.type])
|
2016-08-25 01:56:44 +10:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
export default connect(mapStateToProps)(StatusList);
|