{"size": 286, "ext": "js", "max_stars_repo_path": "src/state/selectors/errors.js", "max_stars_repo_name": "kube-HPC/dashboard", "max_stars_repo_stars_event_min_datetime": "2021-04-19T10:11:15.000Z", "max_stars_repo_stars_event_max_datetime": "2021-04-19T10:11:15.000Z", "max_issues_repo_path": "src/state/selectors/errors.js", "max_issues_repo_name": "kube-HPC/dashboard", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/state/selectors/errors.js", "max_forks_repo_name": "kube-HPC/dashboard", "max_forks_repo_forks_event_min_datetime": "2021-03-29T14:10:22.000Z", "max_forks_repo_forks_event_max_datetime": "2021-03-29T14:10:22.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 28.6, "max_line_length": 57, "alphanum_fraction": 0.6993006993}
// @flow
import { createSelector } from '@reduxjs/toolkit';
import type { ErrorLogType } from '@slices';
import type { AppState } from 'state';

export const errorsSelector = createSelector(
  (state: AppState): ErrorLogType[] => state.errors.logs,
  (logs: ErrorLogType[]) => logs,
);
