From 2b2326d0c5615395ea0071ec84746d50ff2cc31a Mon Sep 17 00:00:00 2001 From: Hugh Date: Tue, 26 Nov 2024 11:35:33 +0000 Subject: [PATCH] Callback fixes --- packages/procaptcha-bundle/src/util/defaultCallbacks.ts | 1 - packages/procaptcha-pow/src/services/Manager.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/procaptcha-bundle/src/util/defaultCallbacks.ts b/packages/procaptcha-bundle/src/util/defaultCallbacks.ts index 650557a0f..0fd880a7a 100644 --- a/packages/procaptcha-bundle/src/util/defaultCallbacks.ts +++ b/packages/procaptcha-bundle/src/util/defaultCallbacks.ts @@ -55,7 +55,6 @@ export const getDefaultCallbacks = (element: Element) => ({ }, onReset: () => { removeProcaptchaResponse(); - reset(); console.log("Captcha widget reset"); }, }); diff --git a/packages/procaptcha-pow/src/services/Manager.ts b/packages/procaptcha-pow/src/services/Manager.ts index 84d5586d0..aa29762e2 100644 --- a/packages/procaptcha-pow/src/services/Manager.ts +++ b/packages/procaptcha-pow/src/services/Manager.ts @@ -55,7 +55,6 @@ export const Manager = ( isHuman: false, captchaApi: undefined, account: undefined, - // don't handle timeout here, this should be handled by the state management }; };