Skip to content

Commit

Permalink
refactor: remove dead code from getTravelProgram.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
k70suK3-k06a7ash1 committed May 4, 2024
1 parent 0bae3cf commit cfe9cc8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/effects/getTravelProgram.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,4 @@ export const getTravelsProgram = Effect.gen(function* (_) {

if (response.data === null) return [];
return response.data;
// switch (response) {
// case response.error instanceof Error:
// return yield* Effect.fail(new Error());
// }
});

0 comments on commit cfe9cc8

Please sign in to comment.