text: import * as colorTypeAction from '../actiontypes/colorActionType'
  
  // eslint-disable-next-line import/no-anonymous-default-export
  export default (state = {}, action) => {
    switch (action.type) {
      case colorTypeAction.getColor:
        return {
          ...state,
          color: action.payload
        }
  
      default:
        return state
    }
  }
  