diff --git a/frontend/src/features/settings/system/CacheSettingsComponent.js b/frontend/src/features/settings/system/CacheSettingsComponent.js index 366725b..4a3bbca 100644 --- a/frontend/src/features/settings/system/CacheSettingsComponent.js +++ b/frontend/src/features/settings/system/CacheSettingsComponent.js @@ -1,32 +1,30 @@ import React from "react"; import PropTypes from "prop-types"; -import { Paper, Button } from "@mui/material"; -import { makeStyles } from "@mui/material/styles"; +import { Paper, Button, Box } from "@mui/material"; import { useTranslation } from "react-i18next"; import { PaperTitle } from "components/common"; import { usePermissions } from "hooks"; -const useStyles = makeStyles(theme => ({ +const styles = { content: { "& > *": { - margin: theme.spacing(1) + margin: 1 } } -})); +}; const CacheSettingsComponent = ({ onResetCache }) => { - const classes = useStyles(); const { t } = useTranslation(); const { sysAdmin } = usePermissions(); return ( -
+ -
+
); };