const snekReducer = (state = 'initial snek state', action) => {
  switch(action.type) {
    case 'DO_SOMETHING':
      return action.payload;
      break;
  }
  return state;
};

export default snekReducer;

const snekReducer = (state = 'initial snek state', action) => {
  switch(action.type) {
    case 'DO_SOMETHING':
      return action.payload;
      break;
    default:
    return state;
  }
};

export default snekReducer;

revert default logic for switch statement