diff --git a/frontend/src/components/common/NotAllowed.js b/frontend/src/components/common/NotAllowed.js index 53d23e2..d6d665a 100644 --- a/frontend/src/components/common/NotAllowed.js +++ b/frontend/src/components/common/NotAllowed.js @@ -1,28 +1,24 @@ import React from "react"; -import { makeStyles } from "@mui/material/styles"; -import { Alert, AlertTitle } from "@mui/material"; +import { Alert, AlertTitle, Box } from "@mui/material"; import { useTranslation } from "react-i18next"; -const useStyles = makeStyles(theme => ({ - alert: { - width: "100%", - "& > * + *": { - marginTop: theme.spacing(1) - } - } -})); - const NotAllowed = () => { - const classes = useStyles(); const { t } = useTranslation(); return ( -