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.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: incorrect toast after signed in (#4268)
Qifcf041024f60
diff --git a/apps/core/src/components/affine/auth/sign-in-with-password.tsx b/apps/core/src/components/affine/auth/sign-in-with-password.tsxindex 2be0a09a2e..776bac8edb 100644--- a/apps/core/src/components/affine/auth/sign-in-with-password.tsx+++ b/apps/core/src/components/affine/auth/sign-in-with-password.tsx@@ -44,9 +44,8 @@ export const SignInWithPassword: FC<AuthPanelProps> = ({await update();onSignedIn?.();pushNotification({- title: `${email}${t['com.affine.auth.has.signed']()}`,- message: '',- key: Date.now().toString(),+ title: t['com.affine.auth.has.signed'](),+ message: t['com.affine.auth.has.signed.message'](),type: 'success',});}, [email, password, pushNotification, onSignedIn, t, update]);diff --git a/packages/i18n/src/resources/en.json b/packages/i18n/src/resources/en.jsonindex 48167aa7b5..4051c37ba5 100644--- a/packages/i18n/src/resources/en.json+++ b/packages/i18n/src/resources/en.json@@ -73,7 +73,8 @@"com.affine.auth.desktop.signing.in": "Signing in...","com.affine.auth.desktop.signing.in.message": "Signing in with account <1></1>","com.affine.auth.forget": "Forgot password",- "com.affine.auth.has.signed": " has signed in!",+ "com.affine.auth.has.signed": "Signed in",+ "com.affine.auth.has.signed.message": "You have been signed in, start to sync your data with AFFiNE Cloud!","com.affine.auth.later": "Later","com.affine.auth.open.affine": "Open AFFiNE","com.affine.auth.open.affine.download-app": "Download App",