{"size": 473, "ext": "js", "max_stars_repo_path": "src/redux/reducers/map_reducer.js", "max_stars_repo_name": "BlockByBlock-CPH/New-Prototype-11-2018", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/redux/reducers/map_reducer.js", "max_issues_repo_name": "BlockByBlock-CPH/New-Prototype-11-2018", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/redux/reducers/map_reducer.js", "max_forks_repo_name": "BlockByBlock-CPH/New-Prototype-11-2018", "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": 23.65, "max_line_length": 58, "alphanum_fraction": 0.4376321353}
import{ INITIAL_MAP } from '../../constants/action_types';
  
    const initialState = {
        initialMap: {}
    }
    
    export default (state = initialState, action) => {
        const payload = action.payload

        switch (action.type) {
            case INITIAL_MAP:
                return {
                    ...state,
                    initialMap: payload
                }       
        
            default:
                return state
        }
    }