From 5a901b9fb682fa945766b92c5f37be7a912f170a Mon Sep 17 00:00:00 2001 From: Astitva Patle Date: Mon, 14 Oct 2024 14:17:41 +0530 Subject: [PATCH] fix: UI bugs [] --- src/pages/Auth/forgot-password/ForgotPassword.svelte | 2 +- src/pages/Auth/oauth-redirect/OauthRedirect.svelte | 2 +- src/pages/Auth/reset-password/ResetPassword.svelte | 2 +- src/pages/Auth/verify-email/verify-email.ts | 6 +++--- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/pages/Auth/forgot-password/ForgotPassword.svelte b/src/pages/Auth/forgot-password/ForgotPassword.svelte index 2898252..6562845 100644 --- a/src/pages/Auth/forgot-password/ForgotPassword.svelte +++ b/src/pages/Auth/forgot-password/ForgotPassword.svelte @@ -66,7 +66,7 @@
- +
{ const urlParams = new URLSearchParams(window.location.search); const accessToken = urlParams.get('accessToken'); - const refreshToken = urlParams.get('refreshToken'); + const refreshToken = urlParams.get('refreshToken'); const source = urlParams.get('source'); const sparrowRedirect = `sparrow://?accessToken=${accessToken}&refreshToken=${refreshToken}&event=${source}&method=google`; diff --git a/src/pages/Auth/reset-password/ResetPassword.svelte b/src/pages/Auth/reset-password/ResetPassword.svelte index e470881..79478d6 100644 --- a/src/pages/Auth/reset-password/ResetPassword.svelte +++ b/src/pages/Auth/reset-password/ResetPassword.svelte @@ -113,7 +113,7 @@
- +
{ - const response = await verifyUserEmail(verifyCodeCredential); - if (response.isSuccessful) { + const response = await verifyUserEmail(verifyCodeCredential); + if (response.isSuccessful) { errorMessageText.set(""); - } else { + } else { isSuccessfulResponse.set(true); if (response.message === 'verificationCode should not be empty') { errorMessageText.set('Please enter the 6-digit verification code.');