diff --git a/lib/components/ViewPublicationPage/ViewPublicationPage.tsx b/lib/components/ViewPublicationPage/ViewPublicationPage.tsx index 6a9f4fd..9b63002 100644 --- a/lib/components/ViewPublicationPage/ViewPublicationPage.tsx +++ b/lib/components/ViewPublicationPage/ViewPublicationPage.tsx @@ -5,7 +5,6 @@ import { useQuizViewStore } from "@stores/quizView"; import { useQuestionFlowControl } from "@utils/hooks/useQuestionFlowControl"; import { notReachable } from "@utils/notReachable"; import { quizThemes } from "@utils/themes/Publication/themePublication"; -import "https://markknol.github.io/console-log-viewer/console-log-viewer.js"; import { enqueueSnackbar } from "notistack"; import { ReactElement, useEffect } from "react"; import { ContactForm } from "./ContactForm"; diff --git a/src/main.tsx b/src/main.tsx index de2d98e..b51f1f9 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -1,24 +1,25 @@ -import { createRoot } from "react-dom/client"; -import { RouterProvider, createBrowserRouter } from "react-router-dom"; -import App from "./App"; - - -const router = createBrowserRouter([ - { - path: "/", - children: [ - { - index: true, - element: , - }, - { - path: ":quizId", - element: , - }, - ] - } -]); - -const root = createRoot(document.getElementById("root")!); - -root.render(); +import "https://markknol.github.io/console-log-viewer/console-log-viewer.js"; +import { createRoot } from "react-dom/client"; +import { RouterProvider, createBrowserRouter } from "react-router-dom"; +import App from "./App"; + + +const router = createBrowserRouter([ + { + path: "/", + children: [ + { + index: true, + element: , + }, + { + path: ":quizId", + element: , + }, + ] + } +]); + +const root = createRoot(document.getElementById("root")!); + +root.render();