From 2eac28fd615d6f23d5aa714c4f4badfb038aa3a6 Mon Sep 17 00:00:00 2001 From: Nastya Date: Tue, 5 Mar 2024 19:29:44 +0300 Subject: [PATCH] =?UTF-8?q?update=20=D1=88=D0=B8=D0=BB=D1=8C=D0=B4=D0=B8?= =?UTF-8?q?=D0=BA=20=D0=BF=D0=BE=D0=BA=D0=B0=D0=B7=D1=8B=D0=B2=D0=B0=D0=B5?= =?UTF-8?q?=D1=82=D1=81=D1=8F=20=D0=BF=D0=BE=20=D0=BB=D0=BE=D0=B3=D0=B8?= =?UTF-8?q?=D0=BA=D0=B5=20=D0=B1=D1=83=D0=BB=D0=B5=D0=B2=D0=BE=D0=B3=D0=BE?= =?UTF-8?q?=20=D0=B7=D0=BD=D0=B0=D1=87=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/components/ViewPublicationPage/ContactForm.tsx | 2 +- lib/components/ViewPublicationPage/Question.tsx | 2 +- lib/components/ViewPublicationPage/ResultForm.tsx | 2 +- .../ViewPublicationPage/StartPageViewPublication.tsx | 2 +- src/App.tsx | 6 ++++-- 5 files changed, 8 insertions(+), 6 deletions(-) diff --git a/lib/components/ViewPublicationPage/ContactForm.tsx b/lib/components/ViewPublicationPage/ContactForm.tsx index d87f384..28c25a3 100644 --- a/lib/components/ViewPublicationPage/ContactForm.tsx +++ b/lib/components/ViewPublicationPage/ContactForm.tsx @@ -274,7 +274,7 @@ export const ContactForm = ({ currentQuestion, onShowResult }: Props) => {  ознакомлен - {!show_badge && + {show_badge && - {!show_badge ? (quizThemes[settings.cfg.theme].isLight ? ( + {show_badge ? (quizThemes[settings.cfg.theme].isLight ? ( diff --git a/lib/components/ViewPublicationPage/ResultForm.tsx b/lib/components/ViewPublicationPage/ResultForm.tsx index ab17a70..a72c74b 100644 --- a/lib/components/ViewPublicationPage/ResultForm.tsx +++ b/lib/components/ViewPublicationPage/ResultForm.tsx @@ -124,7 +124,7 @@ export const ResultForm = ({ resultQuestion }: ResultFormProps) => { px: "20px", }} > - {!show_badge && + {show_badge && { - {!show_badge && + {show_badge &&