aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/components/Drawer/Drawer.tsx2
-rw-r--r--src/containers/Page/Page.tsx1
2 files changed, 2 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();
diff --git a/src/containers/Page/Page.tsx b/src/containers/Page/Page.tsx
index b9c08cb..d1171e6 100644
--- a/src/containers/Page/Page.tsx
+++ b/src/containers/Page/Page.tsx
@@ -32,6 +32,7 @@ const Page: React.FC = () => {
return (
<SnackbarProvider
+ preventDuplicate
maxSnack={isMobile ? 1 : 3}
anchorOrigin={{
vertical: isMobile ? 'top' : 'bottom',