Skip to content

Commit

Permalink
Remove switch statement, unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
LocalNewsTV authored and plasticviking committed Nov 18, 2024
1 parent 02c0e3c commit 20681f7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
5 changes: 0 additions & 5 deletions app/src/state/reducers/batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,6 @@ function createBatchReducer() {
data: action.payload.data
}
};
} else {
switch (action.type) {
default:
break;
}
}
});
};
Expand Down
2 changes: 0 additions & 2 deletions app/src/state/sagas/batch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ function* deleteBatch(action: PayloadAction<string>) {
body: JSON.stringify({ id })
});

const data = yield res.json();

if (!res.ok) {
yield put(BatchActions.deleteError());
return;
Expand Down

0 comments on commit 20681f7

Please sign in to comment.