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