{"size": 227, "ext": "js", "max_stars_repo_path": "client/src/reducers/api_version_reducer.js", "max_stars_repo_name": "zhangmingkai4315/React-Redux-Authentication-Starter", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/src/reducers/api_version_reducer.js", "max_issues_repo_name": "zhangmingkai4315/React-Redux-Authentication-Starter", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/src/reducers/api_version_reducer.js", "max_forks_repo_name": "zhangmingkai4315/React-Redux-Authentication-Starter", "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": 22.7, "max_line_length": 65, "alphanum_fraction": 0.7356828194}
import {FETCH_API_VERSION_SUCCESS} from '../actions/actionTypes';
export default function(state='',action){
  switch(action.type){
  case FETCH_API_VERSION_SUCCESS:
    return action.version;
  default:
    return state;
  }
}
