{"size": 278, "ext": "js", "max_stars_repo_path": "src/store/reducers/apartmentDetails.js", "max_stars_repo_name": "tirthajyoti-ghosh/Appointio", "max_stars_repo_stars_event_min_datetime": "2020-10-30T19:29:46.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-31T14:44:47.000Z", "max_issues_repo_path": "src/store/reducers/apartmentDetails.js", "max_issues_repo_name": "tirthajyoti-ghosh/Appointio", "max_issues_repo_issues_event_min_datetime": "2020-12-19T12:40:27.000Z", "max_issues_repo_issues_event_max_datetime": "2022-02-27T20:05:57.000Z", "max_forks_repo_path": "src/store/reducers/apartmentDetails.js", "max_forks_repo_name": "tirthajyoti-ghosh/Appointio", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 6, "max_issues_count": 4, "max_forks_count": null, "avg_line_length": 21.3846153846, "max_line_length": 56, "alphanum_fraction": 0.6762589928}
import { ADD_APARTMENT_DETAILS } from '../../constants';

const apartmentDetails = (state = {}, action) => {
  switch (action.type) {
    case ADD_APARTMENT_DETAILS:
      return action.apartmentDetails;
    default:
      return state;
  }
};

export default apartmentDetails;
