blob: cf18966b0f73a8c26a6899ff4c1301a0777d2dd5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import * as types from '../../types'
import { session, getDefault, getDefaultInt } from '../../session'
import { crudState, crudReducer } from '../../api/crud.reducer'
const initialState = crudState('timestamp', {
options: {
}
})
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
}
}
|