mirror of
https://github.com/AppFlowy-IO/AppFlowy
synced 2026-05-06 06:58:31 +00:00
fix: hide toast (#6210)
This commit is contained in:
parent
9930efdc84
commit
3e91be4960
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ function AppConfig ({ children }: { children: React.ReactNode }) {
|
|||
enqueueSnackbar(message, { variant: 'error' });
|
||||
},
|
||||
warning: (message: string) => {
|
||||
enqueueSnackbar(message, { variant: 'warning', autoHideDuration: 500000000000 });
|
||||
enqueueSnackbar(message, { variant: 'warning' });
|
||||
},
|
||||
default: (message: string) => {
|
||||
enqueueSnackbar(message, { variant: 'default' });
|
||||
|
|
|
|||
Loading…
Reference in a new issue