"use strict";

import { Constants as AssessmentMetaConstants }   from '../actions/assessment_meta';

const initialState = {};

export default (state = initialState, action) => {

  switch(action.type){
    case AssessmentConstants.LOAD_ASSESSMENT_META:
      state = _.cloneDeep(action.payload)
      break;
    default:

  }
  return state;
};

"use strict";

import { Constants as AssessmentMetaConstants }   from '../actions/assessment_meta';

const initialState = {};

export default (state = initialState, action) => {

  switch(action.type){
    case AssessmentConstants.LOAD_ASSESSMENT_META:
      return action.payload;
  }
  return state;
};

Fix not returning the state