{"size": 378, "ext": "js", "max_stars_repo_path": "src/main/webapp/reducers/internationalStandardReducer.js", "max_stars_repo_name": "gichangi/lamisplus-main", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/main/webapp/reducers/internationalStandardReducer.js", "max_issues_repo_name": "gichangi/lamisplus-main", "max_issues_repo_issues_event_min_datetime": "2020-09-13T18:28:10.000Z", "max_issues_repo_issues_event_max_datetime": "2020-11-12T14:33:03.000Z", "max_forks_repo_path": "src/main/webapp/reducers/internationalStandardReducer.js", "max_forks_repo_name": "gichangi/lamisplus-main", "max_forks_repo_forks_event_min_datetime": "2020-08-31T02:51:49.000Z", "max_forks_repo_forks_event_max_datetime": "2020-10-14T04:18:29.000Z"}
{"max_stars_count": null, "max_issues_count": 2, "max_forks_count": 3, "avg_line_length": 18.9, "max_line_length": 72, "alphanum_fraction": 0.6904761905}
import * as ACTION_TYPES from '../actions/types'

const initialState = {
  icdList: [],
}

const internationalStandardReducer = (state = initialState, action) => {
  switch (action.type) {
    case ACTION_TYPES.ICD_STANDARDS_FETCH_ALL:
      return { ...state, icdList: [...action.payload] }

    default:
      return state
  }
}

export default internationalStandardReducer


