From 4f53e93b26c939f504e569d8258cb99788527d1c Mon Sep 17 00:00:00 2001 From: Eugene Sokolov Date: Mon, 17 Aug 2020 19:32:40 +0300 Subject: Revert "feat: add icon for closing drawer" --- src/components/Drawer/Drawer.tsx | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/src/components/Drawer/Drawer.tsx b/src/components/Drawer/Drawer.tsx index a111a06..9b416b0 100644 --- a/src/components/Drawer/Drawer.tsx +++ b/src/components/Drawer/Drawer.tsx @@ -5,11 +5,9 @@ import { List, ListItem, Typography, - Divider, - IconButton + Divider } from '@material-ui/core'; import { ExitToApp as LogoutIcon, Info } from '@material-ui/icons'; -import CloseIcon from '@material-ui/icons/Close'; import { makeStyles } from '@material-ui/core/styles'; import UserInfo from './UserInfo'; @@ -26,9 +24,6 @@ const useStyles = makeStyles(theme => ({ }, icon: { marginRight: theme.spacing(1) - }, - closeDrawer: { - } })); @@ -73,9 +68,6 @@ const Drawer: React.FC = React.memo(({ isOpen, setIsOpen }) => { disableBackdropTransition={!iOS} disableDiscovery={iOS} > - - - {user && } -- cgit v1.2.3