repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

commit
14f1594
parent
af9b763
author
Eric Bower
date
2024-08-14 15:53:01 +0000 UTC
fix(thunk): remove unnecessary error log
1 files changed,  +0, -3
M query/thunk.ts
+0, -3
 1@@ -223,9 +223,6 @@ export function createThunks<Ctx extends ThunkCtx = ThunkCtx<any>>(
 2       return action({ name, key, options });
 3     };
 4     actionFn.run = (action?: unknown): Operation<Ctx> => {
 5-      if (!signal) {
 6-        console.error(errMsg);
 7-      }
 8       if (action && Object.hasOwn(action, "type")) {
 9         return onApi(action as ActionWithPayload<CreateActionPayload>);
10       }