From 68c7660e13fc5613ef26de752bc360a792b3f935 Mon Sep 17 00:00:00 2001
From: eug-vs <eug-vs@keemail.me>
Date: Wed, 12 Aug 2020 03:39:48 +0300
Subject: feat: prevent duplicate snackbars

---
 src/components/Drawer/Drawer.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/Drawer/Drawer.tsx')

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();
-- 
cgit v1.2.3

