mirror of
https://github.com/usememos/memos.git
synced 2025-01-31 17:48:12 +08:00
fix: incorrect localization key for sign-up failure message (#1953)
This commit is contained in:
parent
d9b3501fae
commit
8ca2dac184
1 changed files with 2 additions and 2 deletions
|
@ -104,11 +104,11 @@ const Auth = () => {
|
|||
if (user) {
|
||||
window.location.href = "/";
|
||||
} else {
|
||||
toast.error(t("common.signup-failed"));
|
||||
toast.error(t("message.signup-failed"));
|
||||
}
|
||||
} catch (error: any) {
|
||||
console.error(error);
|
||||
toast.error(error.response.data.message || error.message || t("common.signup-failed"));
|
||||
toast.error(error.response.data.message || error.message || t("message.signup-failed"));
|
||||
}
|
||||
actionBtnLoadingState.setFinish();
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue