{"size": 221, "ext": "js", "max_stars_repo_path": "app/reducers/posts.js", "max_stars_repo_name": "alekzieba/game-fame", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "app/reducers/posts.js", "max_issues_repo_name": "alekzieba/game-fame", "max_issues_repo_issues_event_min_datetime": "2019-03-19T06:43:41.000Z", "max_issues_repo_issues_event_max_datetime": "2019-03-19T06:43:41.000Z", "max_forks_repo_path": "app/reducers/posts.js", "max_forks_repo_name": "chenKuer/ASE_bug_hunt_2", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 1, "max_forks_count": null, "avg_line_length": 18.4166666667, "max_line_length": 51, "alphanum_fraction": 0.6244343891}
// @flow
import { GET_POSTS } from '../actions/posts';

export default function posts(state = {}, action) {
  switch (action.type) {
    case GET_POSTS:
      return action.payload;
    default:
      return state;
  }
}
