diff --git a/src/Components/CustomFields/ImageBoxField/ImageBoxField.tsx b/src/Components/CustomFields/ImageBoxField/ImageBoxField.tsx
index e19dd62..230058e 100644
--- a/src/Components/CustomFields/ImageBoxField/ImageBoxField.tsx
+++ b/src/Components/CustomFields/ImageBoxField/ImageBoxField.tsx
@@ -63,7 +63,7 @@ const ImageBoxField = ({ name }: any) => {
+
{imagePreview ? (

) : (
diff --git a/src/Components/exercise/Header.tsx b/src/Components/exercise/Header.tsx
index ffa1aec..a524b5f 100644
--- a/src/Components/exercise/Header.tsx
+++ b/src/Components/exercise/Header.tsx
@@ -72,11 +72,11 @@ const Header = () => {
>
-
-
{isBseQuestion || values?.isBase === 1
? t("header.malty_exercise")
: t("header.exercise")}
+
+
);
diff --git a/src/Pages/Admin/question/AddPage.tsx b/src/Pages/Admin/question/AddPage.tsx
index 5d35fe7..1f4b5dd 100644
--- a/src/Pages/Admin/question/AddPage.tsx
+++ b/src/Pages/Admin/question/AddPage.tsx
@@ -1,13 +1,12 @@
import React, { Suspense, lazy, useEffect } from "react";
import { Spin } from "antd";
-import FormikForm from "../../../Layout/Dashboard/FormikFormModel";
import {
getInitialValues,
getValidationSchema,
getInitialValuesBase,
getValidationSchemaBase,
processTags,
-} from "./Model/formUtil";
+} from "./formUtil";
import { useAddQuestion, useAddQuestionAsync } from "../../../api/Question";
import { useTranslation } from "react-i18next";
import { useLocation, useNavigate, useParams } from "react-router-dom";
@@ -21,7 +20,6 @@ import ModelForm from "./Model/ModelForm";
import { toast } from "react-toastify";
import { Form, Formik } from "formik";
import { MdOutlineArrowForwardIos } from "react-icons/md";
-const AcceptModal = lazy(() => import("./Model/AcceptModal"));
const AddPage: React.FC = () => {
const location = useLocation();
@@ -163,7 +161,8 @@ const AddPage: React.FC = () => {
const handleCancel = () => {
navigate(-1);
};
- const Loading = LoadingAsync || isLoading
+ const Loading = LoadingAsync || isLoading;
+
useEffect(() => {
if (isSuccess) {
setSuccess(true);
@@ -211,9 +210,7 @@ const AddPage: React.FC = () => {
)}
-
}>
-
-
+
@@ -264,9 +261,6 @@ const AddPage: React.FC = () => {
)}
-