2
0

feat: Add new onboarding flow

This commit is contained in:
Baptiste Arnaud
2022-03-23 09:56:39 +01:00
parent f9aba27aae
commit f4e6f63b26
32 changed files with 1115 additions and 89 deletions

View File

@@ -158,7 +158,7 @@ export const ChatBlock = ({
if (currentStep?.outgoingEdgeId || processedSteps.length === steps.length)
return onBlockEnd(currentStep.outgoingEdgeId)
}
const nextStep = steps[processedSteps.length]
const nextStep = steps[processedSteps.length + startStepIndex]
if (nextStep) insertStepInStack(nextStep)
}