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 489e900 commit 3413fdcCopy full SHA for 3413fdc
src/hooks/useStepQueue.ts
@@ -29,7 +29,7 @@ export function isActive(step: StepStatus) {
29
export default (
30
callback: (
31
step: StepStatus,
32
- ) => Promise<void> | typeof SkipStep | typeof DoStep,
+ ) => Promise<void> | void | typeof SkipStep | typeof DoStep,
33
): [() => void, StepStatus] => {
34
const [step, setStep] = React.useState<StepStatus>(STEP_NONE);
35
0 commit comments