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