{"size": 567, "ext": "js", "max_stars_repo_path": "app/scripts/containers/HeaderContainer.js", "max_stars_repo_name": "Pygocentrus/hacker-news-react-redux", "max_stars_repo_stars_event_min_datetime": "2017-02-13T11:15:24.000Z", "max_stars_repo_stars_event_max_datetime": "2017-02-13T11:15:24.000Z", "max_issues_repo_path": "app/scripts/containers/HeaderContainer.js", "max_issues_repo_name": "Pygocentrus/hacker-news-react-redux", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/scripts/containers/HeaderContainer.js", "max_forks_repo_name": "Pygocentrus/hacker-news-react-redux", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 40.5, "max_line_length": 110, "alphanum_fraction": 0.7231040564}
import { connect } from 'react-redux';
import { getNewsStories, getTopStories, getShowStories, getAskStories, getJobsStories } from '../actions/api';
import Header from '../components/Header';

const mapDispatchToProps = (dispatch, ownProps) => ({
  getNewsStories: () => dispatch(getNewsStories()),
  getTopStories: () => dispatch(getTopStories()),
  getShowStories: () => dispatch(getShowStories()),
  getAskStories: () => dispatch(getAskStories()),
  getJobsStories: () => dispatch(getJobsStories()),
});

export default connect(null, mapDispatchToProps)(Header);
