import { FETCH_CAVE } from '../actions/types';

const INITIAL_STATE = { cave: {} };

export default function(state = INITIAL_STATE, action) {

  switch(action.type) {
    case FETCH_CAVE:
      console.log(action.payload)
      return Object.assign({}, state, {
        cave: action.payload.data.cave
      })
    default:
      return state;
  }
}

@@ -185,42 +185,8 @@
 VE:%0A
-      console.log(action.payload)%0A
     

Remove debug message