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.

chore(core): disallow closing auth modal for clicking outside and escape (#10156)

CatsJuiceb5ba17c46446
diff --git a/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx b/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx
index 41e8086fef..e6bab296ca 100644
--- a/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx
+++ b/packages/frontend/core/src/desktop/dialogs/sign-in/index.tsx
@@ -22,6 +22,7 @@ export const SignInDialog = ({
return (
<Modal
open
+ persistent
onOpenChange={() => close()}
width={400}
height={550}