diff options
author | eug-vs <eug-vs@keemail.me> | 2020-08-12 03:39:48 +0300 |
---|---|---|
committer | eug-vs <eug-vs@keemail.me> | 2020-08-12 03:41:13 +0300 |
commit | 68c7660e13fc5613ef26de752bc360a792b3f935 (patch) | |
tree | bb3826d74842bc628d1c6aa9c43aae919faffcea /src/containers/Page | |
parent | fc63251148397c2c9b2318c898b25d08066ee6b1 (diff) | |
download | which-ui-68c7660e13fc5613ef26de752bc360a792b3f935.tar.gz |
feat: prevent duplicate snackbars
Diffstat (limited to 'src/containers/Page')
-rw-r--r-- | src/containers/Page/Page.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
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', |