summaryrefslogtreecommitdiff
path: root/frontend/src/reducers/states.js
diff options
context:
space:
mode:
Diffstat (limited to 'frontend/src/reducers/states.js')
-rw-r--r--frontend/src/reducers/states.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/frontend/src/reducers/states.js b/frontend/src/reducers/states.js
index e4c2fd19..c9bb4158 100644
--- a/frontend/src/reducers/states.js
+++ b/frontend/src/reducers/states.js
@@ -2,7 +2,6 @@ import { combineReducers } from 'redux'
import { ADD_BATCH_TO_STATES } from '../actions/states'
export const states = combineReducers({
- task: objectStates('task'),
room: objectStates('room'),
rack: objectStates('rack'),
machine: objectStates('machine'),
@@ -21,7 +20,7 @@ function objectStates(type) {
{},
state[action.objects[i].tick],
batch[action.objects[i].tick],
- { [action.objects[i][action.objectType + 'Id']]: action.objects[i] },
+ { [action.objects[i][action.objectType + 'Id']]: action.objects[i] }
)
}