From d2cb17038b8537a609be06be2ed7013dbe27117e Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Mon, 8 Mar 2021 22:11:55 +0100 Subject: beginning the BIG refactor. moving editor stuff into per-episode hierarchy --- .../app/views/annotation/annotation.reducer.js | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 animism-align/frontend/app/views/annotation/annotation.reducer.js (limited to 'animism-align/frontend/app/views/annotation') diff --git a/animism-align/frontend/app/views/annotation/annotation.reducer.js b/animism-align/frontend/app/views/annotation/annotation.reducer.js deleted file mode 100644 index 50232a9..0000000 --- a/animism-align/frontend/app/views/annotation/annotation.reducer.js +++ /dev/null @@ -1,20 +0,0 @@ -import * as types from 'app/types' - -import { crudState, crudReducer } from 'app/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 - } -} -- cgit v1.2.3-70-g09d2