From d1a43f23e2661a2e9a48b2fc31eff098e0cc2c3a Mon Sep 17 00:00:00 2001 From: Nastya Date: Wed, 10 Jan 2024 16:55:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=BE=D0=B8=D1=81=D0=BA=20=D0=BB=D0=B8?= =?UTF-8?q?=D0=BD=D0=B5=D0=B9=D0=BD=D0=BE=D0=B3=D0=BE=20=D1=80=D0=B5=D0=B7?= =?UTF-8?q?=D1=83=D0=BB=D1=82=D0=B0=20=D0=BF=D0=BE=20=D0=BE=D0=BA=D0=BE?= =?UTF-8?q?=D0=BD=D1=87=D0=B0=D0=BD=D0=B8=D1=8E=20=D1=81=D0=BF=D0=B8=D1=81?= =?UTF-8?q?=D0=BA=D0=B0=20=D0=B2=D0=BE=D0=BF=D1=80=D0=BE=D1=81=D0=BE=D0=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/ViewPublicationPage/Footer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/ViewPublicationPage/Footer.tsx b/src/pages/ViewPublicationPage/Footer.tsx index 219f4e6..c8a7fb8 100644 --- a/src/pages/ViewPublicationPage/Footer.tsx +++ b/src/pages/ViewPublicationPage/Footer.tsx @@ -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;