Skip to content

Commit b4f7b16

Browse files
Merge pull request cerebral#82 from etienne-dldc/next
fix(action-chain): add fall through in effect proxying
2 parents 86ae677 + 401802c commit b4f7b16

File tree

1 file changed

+3
-1
lines changed
  • packages/node_modules/action-chain/src

1 file changed

+3
-1
lines changed

packages/node_modules/action-chain/src/utils.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ function createProxyGetHandler(
3535
}
3636
return result
3737
}
38-
} else if (isObject(target[prop])) {
38+
}
39+
if (isObject(target[prop])) {
3940
return new Proxy(target[prop], {
4041
get: createProxyGetHandler(path + '.' + prop.toString(), cb),
4142
})
4243
}
44+
return target[prop]
4345
}
4446
}
4547

0 commit comments

Comments
 (0)