We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ddf1a4 commit ee0396fCopy full SHA for ee0396f
packages/node_modules/overmind/src/proxyfyEffects.ts
@@ -22,7 +22,7 @@ export function proxifyEffects<Effects>(
22
const name = path.split('.')
23
const method = name.pop()
24
return cb({
25
- func: target.bind(thisArg[ORIGIN_TARGET]),
+ func: target.bind(thisArg ? thisArg[ORIGIN_TARGET] : undefined),
26
effectId,
27
name: name.join('.'),
28
method,
0 commit comments