From 828015eafa74ec03f8dbdf7336c3f84a4688444d Mon Sep 17 00:00:00 2001 From: Tristan Yang Date: Thu, 28 Mar 2024 22:02:15 +0800 Subject: [PATCH] chore: updates --- package.json | 2 +- src/routes/login/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 6a532cdb..178d5adb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vocechat-web", - "version": "0.7.4", + "version": "0.7.5", "homepage": "https://voce.chat", "dependencies": { "@metamask/onboarding": "^1.0.1", diff --git a/src/routes/login/index.tsx b/src/routes/login/index.tsx index 9e89bd7f..243c4aeb 100644 --- a/src/routes/login/index.tsx +++ b/src/routes/login/index.tsx @@ -27,7 +27,7 @@ export default function LoginPage() { const { t } = useTranslation("auth"); const { t: ct } = useTranslation(); const { data: enableSMTP, isLoading: loadingSMTPStatus } = useGetSMTPStatusQuery(); - const [login, { isSuccess, isLoading }] = useLoginMutation(); + const [login, { isSuccess, isLoading, error }] = useLoginMutation(); const { data: loginConfig, isSuccess: loginConfigSuccess } = useGetLoginConfigQuery(); const [emailInputted, setEmailInputted] = useState(false); const [input, setInput] = useState(defaultInput);