mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-23 21:52:49 +03:00
fix: incorrect toast after signed in (#4268)
This commit is contained in:
parent
4dbc5412a5
commit
fcf041024f
@ -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]);
|
||||
|
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user