{"size": 471, "ext": "js", "max_stars_repo_path": "src/js/containers/pinboard-page/widgets/trr-summary-container.js", "max_stars_repo_name": "invinst/CPDBv2_frontend", "max_stars_repo_stars_event_min_datetime": "2018-04-03T04:11:10.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-29T18:13:27.000Z", "max_issues_repo_path": "src/js/containers/pinboard-page/widgets/trr-summary-container.js", "max_issues_repo_name": "invinst/CPDBv2_frontend", "max_issues_repo_issues_event_min_datetime": "2019-10-30T08:20:04.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-03T22:15:57.000Z", "max_forks_repo_path": "src/js/containers/pinboard-page/widgets/trr-summary-container.js", "max_forks_repo_name": "invinst/CPDBv2_frontend", "max_forks_repo_forks_event_min_datetime": "2018-05-17T21:59:22.000Z", "max_forks_repo_forks_event_max_datetime": "2020-11-13T17:43:23.000Z"}
{"max_stars_count": 20, "max_issues_count": 21, "max_forks_count": 6, "avg_line_length": 26.1666666667, "max_line_length": 93, "alphanum_fraction": 0.7813163482}
import { connect } from 'react-redux';

import {
  trrSummarySelector,
  getTRRSummaryRequesting,
} from 'selectors/pinboard-page/widgets/trr-summary';
import { SummaryWidgetWithSpinner } from 'components/common/pinboard/widgets/summary-widget';


function mapStateToProps(state, ownProps) {
  return {
    requesting: getTRRSummaryRequesting(state),
    summaryItems: trrSummarySelector(state),
  };
}

export default connect(mapStateToProps)(SummaryWidgetWithSpinner);
