diff options
author | Eugene Sokolov <eug-vs@keemail.me> | 2020-08-17 19:33:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 19:33:20 +0300 |
commit | 0a42a6d26fad6d878e4135b218166872c6b6687b (patch) | |
tree | 180722a3b885ebc0ba5411030a696bc7a0b75464 | |
parent | f36e6b88b1074ce1705d7ca1c0255f79a44f8d68 (diff) | |
parent | 4f53e93b26c939f504e569d8258cb99788527d1c (diff) | |
download | which-ui-0a42a6d26fad6d878e4135b218166872c6b6687b.tar.gz |
Merge pull request #90 from which-ecosystem/revert-87-DrawerCloser
Revert "feat: add icon for closing drawer"
-rw-r--r-- | src/components/Drawer/Drawer.tsx | 10 |
1 files changed, 1 insertions, 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<PropTypes> = React.memo(({ isOpen, setIsOpen }) => { disableBackdropTransition={!iOS} disableDiscovery={iOS} > - <IconButton onClick={handleClose} style={{ width: '48px' }}> - <CloseIcon /> - </IconButton> {user && <UserInfo user={user} />} <Divider /> <List> |