поиск линейного резулта по окончанию списка вопросов

This commit is contained in:
Nastya 2024-01-10 16:55:01 +03:00
parent c4581e5a30
commit d1a43f23e2

@ -222,7 +222,7 @@ export const Footer = ({ setCurrentQuestion, question, setShowContactForm, setSh
if (nextQuestion && nextQuestion.type !== "result") {
setCurrentQuestion(nextQuestion);
} else {
showResult(nextQuestion);
showResult(items.find(q => q.content.rule.parentId === "line"));
}
return;