Skip to content

Commit 14f1594

Browse files
committed
fix(thunk): remove unnecessary error log
1 parent af9b763 commit 14f1594

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

query/thunk.ts

-3
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,6 @@ export function createThunks<Ctx extends ThunkCtx = ThunkCtx<any>>(
223223
return action({ name, key, options });
224224
};
225225
actionFn.run = (action?: unknown): Operation<Ctx> => {
226-
if (!signal) {
227-
console.error(errMsg);
228-
}
229226
if (action && Object.hasOwn(action, "type")) {
230227
return onApi(action as ActionWithPayload<CreateActionPayload>);
231228
}

0 commit comments

Comments
 (0)