Unverified Commit 8ca2dac1 authored by Ajay Kumbhare's avatar Ajay Kumbhare Committed by GitHub

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

parent d9b3501f
...@@ -104,11 +104,11 @@ const Auth = () => { ...@@ -104,11 +104,11 @@ const Auth = () => {
if (user) { if (user) {
window.location.href = "/"; window.location.href = "/";
} else { } else {
toast.error(t("common.signup-failed")); toast.error(t("message.signup-failed"));
} }
} catch (error: any) { } catch (error: any) {
console.error(error); 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(); actionBtnLoadingState.setFinish();
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment