diff --git a/src/features/pass-survey/model/flankerNextStepEvaluator.ts b/src/features/pass-survey/model/flankerNextStepEvaluator.ts index 8576959d1..682e82d27 100644 --- a/src/features/pass-survey/model/flankerNextStepEvaluator.ts +++ b/src/features/pass-survey/model/flankerNextStepEvaluator.ts @@ -47,11 +47,7 @@ export const evaluateFlankerNextStep = ( } } - const minimumAccuracy = itemConfiguration.minimumAccuracy; - - if (!minimumAccuracy) { - return currentIndex + 1; - } + const minimumAccuracy = itemConfiguration.minimumAccuracy ?? 0; if (correctCount * 100 >= totalCount * minimumAccuracy) { const lastPracticeIndex = items.findIndex(