diff --git a/src/components/TemporaryDrawer.tsx b/src/components/TemporaryDrawer.tsx index acdb8856..4d13bb92 100644 --- a/src/components/TemporaryDrawer.tsx +++ b/src/components/TemporaryDrawer.tsx @@ -12,8 +12,6 @@ import List from '@mui/material/List'; import ListItem from '@mui/material/ListItem'; import ListItemIcon from '@mui/material/ListItemIcon'; import CollectionsBookmarkIcon from '@mui/icons-material/CollectionsBookmark'; -import CollectionsBookmarkOutlinedIcon from '@mui/icons-material/CollectionsBookmarkOutlined'; -import VideoLibraryOutlinedIcon from '@mui/icons-material/VideoLibraryOutlined'; import ExploreIcon from '@mui/icons-material/Explore'; import ExtensionIcon from '@mui/icons-material/Extension'; import GetAppIcon from '@mui/icons-material/GetApp'; @@ -21,7 +19,6 @@ import NewReleasesIcon from '@mui/icons-material/NewReleases'; import ListItemText from '@mui/material/ListItemText'; import SettingsIcon from '@mui/icons-material/Settings'; import { Link } from 'react-router-dom'; -import useLocalStorage from 'util/useLocalStorage'; const useStyles = makeStyles({ list: { @@ -37,17 +34,6 @@ interface IProps { export default function TemporaryDrawer({ drawerOpen, setDrawerOpen }: IProps) { const classes = useStyles(); - const [workingMode, setWorkingMode] = useLocalStorage<'manga' | 'anime'>('workingMode', 'manga'); - - const otherMode = () => { - if (workingMode === 'manga') return 'Anime'; - return 'Manga'; - }; - - const switchMode = () => { - if (workingMode === 'manga') setWorkingMode('anime'); - else setWorkingMode('manga'); - }; return (