@ -97,7 +97,7 @@ function programReducer(state: ProgressState, change: ProgressChange) {
lastTransition = lastValue;
if (steps.length > currentIndex) {
calculateToNext(steps[currentIndex], lastValue, lastTransition);
toNext = calculateToNext(steps[currentIndex], lastValue, lastTransition);
}