AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
fix(frontend): remove captcha ref reset
Lluis Agustie7ab2626f581
diff --git a/autogpt_platform/frontend/src/app/(platform)/login/useLoginPage.ts b/autogpt_platform/frontend/src/app/(platform)/login/useLoginPage.tsindex 0588855874..00d553fe75 100644--- a/autogpt_platform/frontend/src/app/(platform)/login/useLoginPage.ts+++ b/autogpt_platform/frontend/src/app/(platform)/login/useLoginPage.ts@@ -45,7 +45,6 @@ export function useLoginPage() {});setIsGoogleLoading(false);- captchaRef?.reset();return;}@@ -54,7 +53,6 @@ export function useLoginPage() {if (error) throw error;setFeedback(null);} catch (error) {- captchaRef?.reset();setIsGoogleLoading(false);const errorString = JSON.stringify(error);if (errorString.includes("not_allowed")) {@@ -74,7 +72,6 @@ export function useLoginPage() {});setIsLoading(false);- captchaRef?.reset();return;}@@ -85,7 +82,6 @@ export function useLoginPage() {});setIsLoading(false);- captchaRef?.reset();return;}@@ -98,7 +94,6 @@ export function useLoginPage() {variant: "destructive",});- captchaRef?.reset();return;}setFeedback(null);