fix: incorrect toast after signed in (#4268)

This commit is contained in:
Qi
2023-09-07 23:45:31 +08:00
committed by GitHub
parent 4dbc5412a5
commit fcf041024f
2 changed files with 4 additions and 4 deletions

View File

@@ -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]);