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.
 
 
 
 

19 lines
496 B

import { connect } from 'react-redux';
import StatusList from '../components/status_list';
import { replyCompose } from '../actions/compose';
const mapStateToProps = function (state, props) {
return {
statuses: state.getIn(['timelines', props.type])
};
};
const mapDispatchToProps = function (dispatch) {
return {
onReply: function (status) {
dispatch(replyCompose(status));
}
};
};
export default connect(mapStateToProps, mapDispatchToProps)(StatusList);