{"size": 292, "ext": "js", "max_stars_repo_path": "client/web/src/redux/reducers/auth.js", "max_stars_repo_name": "write-for-CHRIST/vistart", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "client/web/src/redux/reducers/auth.js", "max_issues_repo_name": "write-for-CHRIST/vistart", "max_issues_repo_issues_event_min_datetime": "2018-05-23T10:08:34.000Z", "max_issues_repo_issues_event_max_datetime": "2018-05-31T15:06:52.000Z", "max_forks_repo_path": "client/web/src/redux/reducers/auth.js", "max_forks_repo_name": "write-for-CHRIST/vistart", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 19.4666666667, "max_line_length": 43, "alphanum_fraction": 0.5753424658}
import {EMAIL_LOGIN} from '../actions/auth'

export default (state = {}, action) => {
  switch (action.type) {
    case EMAIL_LOGIN:
      return {
        ...state,
        email: action.payload.email,
        password: action.payload.password,
      }
    default:
      return state
  }
}
