We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b35854 commit a6e4cefCopy full SHA for a6e4cef
src/commons/redux/utils.ts
@@ -54,7 +54,7 @@ export function combineSagaHandlers<
54
others?: (takeEvery: typeof saferTakeEvery) => SagaIterator
55
): () => SagaIterator {
56
const sagaHandlers = Object.entries(handlers).map(([actionName, saga]) =>
57
- saferTakeEvery(actions[actionName].type, saga)
+ saferTakeEvery(actions[actionName], saga)
58
);
59
return function* (): SagaIterator {
60
yield* sagaHandlers;
@@ -82,6 +82,7 @@ export function saferTakeEvery<
82
}
83
84
85
+ console.log(actionPattern)
86
return takeEvery(actionPattern.type, wrapper);
87
88
0 commit comments