{"size": 324, "ext": "js", "max_stars_repo_path": "app/reducers/sac_code_types.js", "max_stars_repo_name": "Asif-md/methods_of_redux", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/reducers/sac_code_types.js", "max_issues_repo_name": "Asif-md/methods_of_redux", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "app/reducers/sac_code_types.js", "max_forks_repo_name": "Asif-md/methods_of_redux", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.9230769231, "max_line_length": 71, "alphanum_fraction": 0.6018518519}
import { GET_SAC_CODE, GET_SAC_CODE_DONE } from 'actions/action_types';

export default function SacCodeTypes(state = [], action) {
    switch (action.type) {
        case GET_SAC_CODE:
            return [];
        case GET_SAC_CODE_DONE:
            return action.list;
        default:
            return state;
    }
}
