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/containers/Page/Page.tsx | 1 +
 1 file changed, 1 insertion(+)

(limited to 'src/containers/Page/Page.tsx')

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',
-- 
cgit v1.2.3

