From e973412b5ea29685f4fa260d8eb44baae095fb81 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Sat, 4 Jul 2020 16:37:19 +0200 Subject: rename timestamp to annotation --- .../frontend/views/timestamp/timestamp.reducer.js | 21 --------------------- 1 file changed, 21 deletions(-) delete mode 100644 animism-align/frontend/views/timestamp/timestamp.reducer.js (limited to 'animism-align/frontend/views/timestamp/timestamp.reducer.js') diff --git a/animism-align/frontend/views/timestamp/timestamp.reducer.js b/animism-align/frontend/views/timestamp/timestamp.reducer.js deleted file mode 100644 index e57110e..0000000 --- a/animism-align/frontend/views/timestamp/timestamp.reducer.js +++ /dev/null @@ -1,21 +0,0 @@ -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 - } -} -- cgit v1.2.3-70-g09d2