// import * as types from 'app/types' import { crudState, crudReducer } from 'app/api/crud.reducer' const initialState = crudState('project', { options: {}, }) const reducer = crudReducer('project') export default function projectReducer(state = initialState, action) { // console.log(action.type, action) state = reducer(state, action) switch (action.type) { default: return state } }