diff options
Diffstat (limited to 'src/components/Drawer/Drawer.tsx')
-rw-r--r-- | src/components/Drawer/Drawer.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/Drawer/Drawer.tsx b/src/components/Drawer/Drawer.tsx index 76b5120..9b416b0 100644 --- a/src/components/Drawer/Drawer.tsx +++ b/src/components/Drawer/Drawer.tsx @@ -44,7 +44,7 @@ const Drawer: React.FC<PropTypes> = React.memo(({ isOpen, setIsOpen }) => { useEffect(() => { // Close drawer on navigations return history.listen(() => handleClose()); - }, [history, handleClose]) + }, [history, handleClose]); const handleLogout = useCallback(() => { logout(); |