"use strict";

import _                                      from "lodash";
import { Constants as AssessmentConstants }   from "../actions/assessments";


export default (state = {}, action) => {
  switch(action.type){

    case AssessmentConstants.ASSESSMENT_OFFER + AssessmentConstants.DONE:
      return action.payload;

    case AssessmentConstants.ASSESSMENT_CLEAR_SNIPPET:
      return {};

    default:
      return state;
  }
};

@@ -92,31 +92,8 @@
 nts 
-as AssessmentConstants 
 %7D   
@@ -123,16 +123,16 @@
 ments%22;%0A
+
 %0A%0Aexport
@@ -195,34 +195,24 @@
 %7B%0A%0A    case 
-Assessment
 Constants.AS
@@ -228,26 +228,16 @@
 OFFER + 
-Assessment
 Constant
@@ -274,16 +274,16 @@
 yload;%0A%0A
+
     case
@@ -287,18 +287,8 @@
 ase 
-Assessment
 Cons

Remove unnecessary alias