fix page question type

This commit is contained in:
nflnkr 2024-02-21 13:40:06 +03:00
parent b6fa1e3775
commit a798ee593e
2 changed files with 1 additions and 1 deletions

@ -23,7 +23,6 @@ export const Page = ({ currentQuestion }: PageProps) => {
}}
>
{
//@ts-ignore
currentQuestion.content.useImage ? (
<Box sx={{ borderRadius: "12px", border: "1px solid #9A9AAF", overflow: "hidden" }}>
<img

@ -15,6 +15,7 @@ export interface QuizQuestionPage extends QuizQuestionBase {
text: string;
picture: string;
originalPicture: string;
useImage: boolean;
video: string;
hint: QuestionHint;
rule: QuestionBranchingRule;