Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: remove open app timeout (#4332)

Peng Xiaoab7be0b94035
diff --git a/apps/core/src/pages/open-app.tsx b/apps/core/src/pages/open-app.tsx
index 00d828af9d..7e6df768e6 100644
--- a/apps/core/src/pages/open-app.tsx
+++ b/apps/core/src/pages/open-app.tsx
@@ -74,9 +74,7 @@ const OpenAppImpl = ({ urlToOpen, channel }: OpenAppProps) => {
if (urlToOpen && lastOpened !== urlToOpen && autoOpen) {
lastOpened = urlToOpen;
- setTimeout(() => {
- open(urlToOpen, '_blank');
- }, 1000);
+ open(urlToOpen, '_blank');
}
if (!urlToOpen) {