mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
fix: incorrect localization key for sign-up failure message (#1953)
This commit is contained in:
@@ -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();
|
||||
};
|
||||
|
Reference in New Issue
Block a user