Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: incorrect localization key for sign-up failure message (#1953)

Ajay Kumbhare8ca2dac18416
diff --git a/web/src/pages/Auth.tsx b/web/src/pages/Auth.tsx
index 0014e0737..059890296 100644
--- a/web/src/pages/Auth.tsx
+++ b/web/src/pages/Auth.tsx
@@ -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();
};