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 add61fd commit 6901b6cCopy full SHA for 6901b6c
packages/core/src/utils.ts
@@ -126,9 +126,9 @@ export function compose(inspectors: Inspector[]) {
126
...inspectorMap.normal,
127
...inspectorMap.post,
128
];
129
- return async (getCtx: () => InspectorContext) => {
130
- return await dispatch(0);
131
- async function dispatch(i: number): Promise<void> {
+ return (getCtx: () => InspectorContext) => {
+ return dispatch(0);
+ function dispatch(i: number): void {
132
const inspector = mergedInspectorFns[i];
133
return inspector(getCtx(), dispatch.bind(null, i + 1));
134
}
0 commit comments