diff --git a/src/index.tsx b/src/index.tsx index fb7258fe..252b50a0 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -21,11 +21,17 @@ const localeText = ruRU.components.MuiLocalizationProvider.defaultProps.localeTe const root = createRoot(document.getElementById("root")!); root.render( - + - + diff --git a/src/pages/startPage/dropZone.tsx b/src/pages/startPage/dropZone.tsx index ac9ce698..67aa5c38 100644 --- a/src/pages/startPage/dropZone.tsx +++ b/src/pages/startPage/dropZone.tsx @@ -1,15 +1,15 @@ -import { useState } from "react"; +import UploadIcon from "@icons/UploadIcon"; import { Box, ButtonBase, - useTheme, - Typography, SxProps, Theme, + Typography, + useTheme, } from "@mui/material"; -import { SnackbarProvider, enqueueSnackbar } from "notistack"; -import UploadIcon from "@icons/UploadIcon"; import { useCurrentQuiz } from "@root/quizes/hooks"; +import { enqueueSnackbar } from "notistack"; +import { useState } from "react"; interface Props { @@ -108,9 +108,6 @@ export const DropZone = ({ text, sx, heightImg, widthImg }: Props) => { > {text} - {quiz.config.startpage.background.desktop && ( { > {text} - {data ? (