summaryrefslogtreecommitdiff
path: root/animism-align/frontend/views/annotation/annotation.reducer.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2020-07-22 14:05:15 +0200
committerJules Laplace <julescarbon@gmail.com>2020-07-22 14:05:15 +0200
commitef78bc6a084f92b4794e987b5832240d85b6479e (patch)
treeb314b630800db6aa60f28ef0b115625e6ca176db /animism-align/frontend/views/annotation/annotation.reducer.js
parent85d4cb9addf9ca887d3440b2786665d67d9917c4 (diff)
refactor app using babel module-resolver
Diffstat (limited to 'animism-align/frontend/views/annotation/annotation.reducer.js')
-rw-r--r--animism-align/frontend/views/annotation/annotation.reducer.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/animism-align/frontend/views/annotation/annotation.reducer.js b/animism-align/frontend/views/annotation/annotation.reducer.js
deleted file mode 100644
index 98b785e..0000000
--- a/animism-align/frontend/views/annotation/annotation.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('annotation', {
- options: {
- sort: 'start_ts asc',
- }
-})
-
-const reducer = crudReducer('annotation')
-
-export default function annotationReducer(state = initialState, action) {
- // console.log(action.type, action)
- state = reducer(state, action)
- switch (action.type) {
- default:
- return state
- }
-}