Skip to content

Commit

Permalink
fix(thunk): remove unnecessary error log
Browse files Browse the repository at this point in the history
  • Loading branch information
neurosnap committed Aug 14, 2024
1 parent af9b763 commit 14f1594
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions query/thunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ export function createThunks<Ctx extends ThunkCtx = ThunkCtx<any>>(
return action({ name, key, options });
};
actionFn.run = (action?: unknown): Operation<Ctx> => {
if (!signal) {
console.error(errMsg);
}
if (action && Object.hasOwn(action, "type")) {
return onApi(action as ActionWithPayload<CreateActionPayload>);
}
Expand Down

0 comments on commit 14f1594

Please sign in to comment.