From b6d86dc0d9fdcf4c0ca6412281c37ba5fec1096b Mon Sep 17 00:00:00 2001 From: Majd_dk Date: Sun, 3 Aug 2025 12:06:11 +0300 Subject: [PATCH] add mml to hint_question --- .../question/Model/Malty/components/Question.tsx | 11 +++++++---- src/Pages/Admin/question/Model/ModelForm.tsx | 5 +++-- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/Pages/Admin/question/Model/Malty/components/Question.tsx b/src/Pages/Admin/question/Model/Malty/components/Question.tsx index f91eedc..3329857 100644 --- a/src/Pages/Admin/question/Model/Malty/components/Question.tsx +++ b/src/Pages/Admin/question/Model/Malty/components/Question.tsx @@ -7,6 +7,8 @@ import ValidationField from "../../../../../../Components/ValidationField/Valida import MaltySelectTag from "../Tags/MaltySelectTag"; import { toast } from "react-toastify"; import SelectTagV2 from "../../../../../../Components/CustomFields/SelectTagV2"; +import LaTeXInputMemo from "../../../../../../Components/LatextInput/LaTeXInputMemo"; +import { Field } from "formik"; export const Question: React.FC = React.memo(({ index, data }) => { const { values, setFieldValue, ShowHint, t } = data; @@ -56,15 +58,16 @@ export const Question: React.FC = React.memo(({ index, data }) => {
{ShowHint && ( - )} diff --git a/src/Pages/Admin/question/Model/ModelForm.tsx b/src/Pages/Admin/question/Model/ModelForm.tsx index 953c682..1df6c91 100644 --- a/src/Pages/Admin/question/Model/ModelForm.tsx +++ b/src/Pages/Admin/question/Model/ModelForm.tsx @@ -75,11 +75,12 @@ const Form = () => {
{ShowHint && ( -