diff --git a/web/src/components/DialogTorrentDetailsContent/DialogHeader.jsx b/web/src/components/DialogTorrentDetailsContent/DialogHeader.jsx index 1748b8d..cc7ef06 100644 --- a/web/src/components/DialogTorrentDetailsContent/DialogHeader.jsx +++ b/web/src/components/DialogTorrentDetailsContent/DialogHeader.jsx @@ -4,10 +4,10 @@ import CloseIcon from '@material-ui/icons/Close' import { ArrowBack } from '@material-ui/icons' import { useTranslation } from 'react-i18next' -const useStyles = makeStyles(theme => ({ +const useStyles = makeStyles({ appBar: { position: 'relative' }, title: { marginLeft: '6px', flex: 1 }, -})) +}) export default function DialogHeader({ title, onClose, onBack }) { const { t } = useTranslation()