--
All checks were successful
Deploy / CreateImage (push) Successful in 4m27s
Deploy / DeployService (push) Successful in 25s

This commit is contained in:
Nastya 2025-07-01 05:03:35 +03:00
parent b09e587220
commit facc8bc162

@ -1,5 +1,6 @@
import QuizAnswerer from "@/components/QuizAnswerer";
import { createRoot } from "react-dom/client";
import "./i18n/i18n"; // Инициализация i18n для виджета
// eslint-disable-next-line react-refresh/only-export-components
export * from "./widgets";
@ -19,7 +20,13 @@ const widget = {
const root = createRoot(element);
root.render(<QuizAnswerer quizId={quizId} changeFaviconAndTitle={changeFaviconAndTitle} disableGlobalCss />);
root.render(
<QuizAnswerer
quizId={quizId}
changeFaviconAndTitle={changeFaviconAndTitle}
disableGlobalCss
/>
);
},
};