Skip to content

Bring projects, wikis, and teams together with AI. AppFlowy is the AI collaborative workspace where you achieve more without losing control of your data. The leading open source Notion alternative.

fix: hide toast (#6210)

Kilu.He3e91be4960fc
diff --git a/frontend/appflowy_web_app/src/components/app/AppConfig.tsx b/frontend/appflowy_web_app/src/components/app/AppConfig.tsx
index 40b6acabbe..d7895c0fe4 100644
--- a/frontend/appflowy_web_app/src/components/app/AppConfig.tsx
+++ b/frontend/appflowy_web_app/src/components/app/AppConfig.tsx
@@ -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' });