diff --git a/lib/components/QuizAnswerer.tsx b/lib/components/QuizAnswerer.tsx
index bbcd50e..7983f3a 100644
--- a/lib/components/QuizAnswerer.tsx
+++ b/lib/components/QuizAnswerer.tsx
@@ -71,6 +71,12 @@ export default function QuizAnswerer({ quizSettings, quizId, preview = false, ch
quizSettings ??= data;
if (!quizSettings) throw new Error("Quiz data is null");
+ if (quizSettings.questions.length === 0) return (
+
+
+
+ );
+
return (
diff --git a/lib/components/ViewPublicationPage/ApologyPage.tsx b/lib/components/ViewPublicationPage/ApologyPage.tsx
index 8080f03..1a64294 100644
--- a/lib/components/ViewPublicationPage/ApologyPage.tsx
+++ b/lib/components/ViewPublicationPage/ApologyPage.tsx
@@ -9,6 +9,7 @@ export const ApologyPage = ({ error }: Props) => {
if (error.response?.data === "quiz is inactive") message = "Квиз не активирован";
if (error.message === "No questions found") message = "Нет созданных вопросов";
if (error.message === "Quiz already completed") message = "Вы уже прошли этот опрос";
+ if (error.message === "No questions found") message = "Вопросы отсутствуют";
return (