Skip to content

Commit 97f8813

Browse files
committed
Remove extra code
1 parent 7bfa9c6 commit 97f8813

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

cvat-ui/src/reducers/consensus-reducer.ts

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,6 @@ function makeKey(id: number, instance: string): string {
1919

2020
export default (state: ConsensusState = defaultState, action: ConsensusActions): ConsensusState => {
2121
switch (action.type) {
22-
case ConsensusActionTypes.SET_FETCHING: {
23-
return {
24-
...state,
25-
fetching: action.payload.fetching,
26-
};
27-
}
28-
29-
case ConsensusActionTypes.SET_CONSENSUS_SETTINGS: {
30-
return {
31-
...state,
32-
consensusSettings: action.payload.consensusSettings,
33-
};
34-
}
35-
3622
case ConsensusActionTypes.MERGE_CONSENSUS_JOBS: {
3723
const { taskID } = action.payload;
3824
const { mergingConsensus } = state;

0 commit comments

Comments
 (0)