From e34de497ce6da50465a014886e2d1f55532386f6 Mon Sep 17 00:00:00 2001 From: ArtChaos189 Date: Mon, 25 Dec 2023 23:39:12 +0300 Subject: [PATCH] - YoutubeEmbedIframe update --- src/pages/ViewPublicationPage/questions/Page.tsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/pages/ViewPublicationPage/questions/Page.tsx b/src/pages/ViewPublicationPage/questions/Page.tsx index c04e606b..1199c32b 100644 --- a/src/pages/ViewPublicationPage/questions/Page.tsx +++ b/src/pages/ViewPublicationPage/questions/Page.tsx @@ -3,6 +3,7 @@ import { Box, Typography } from "@mui/material"; import { useQuizViewStore, updateAnswer } from "@root/quizView"; import type { QuizQuestionPage } from "../../../model/questionTypes/page"; +import YoutubeEmbedIframe from "@ui_kit/StartPagePreview/YoutubeEmbedIframe"; type PageProps = { currentQuestion: QuizQuestionPage; @@ -42,15 +43,9 @@ export const Page = ({ currentQuestion }: PageProps) => { /> ) : ( -