This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
import { connect } from 'react-redux';
|
|
import StatusList from '../components/status_list';
|
|
|
|
const mapStateToProps = function (state, props) {
|
|
return {
|
|
statuses: state.getIn(['statuses', props.type])
|
|
};
|
|
};
|
|
|
|
export default connect(mapStateToProps)(StatusList);
|