From 346829f38eeff15e8303c4542fb0d9840c2980b8 Mon Sep 17 00:00:00 2001 From: Vikas Kapadiya Date: Sun, 9 Jun 2024 22:06:07 +0530 Subject: [PATCH 1/2] Disable auto refresh. --- src/index.tsx | 1 + src/stores/turnstile/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 6e8dde22..3363aa15 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -176,6 +176,7 @@ const root = createRoot(container!); root.render( + }> diff --git a/src/stores/turnstile/index.tsx b/src/stores/turnstile/index.tsx index a2085a2c..f6452d91 100644 --- a/src/stores/turnstile/index.tsx +++ b/src/stores/turnstile/index.tsx @@ -77,6 +77,7 @@ export async function getTurnstileToken() { const turnstile = getTurnstile(); try { const token = await useTurnstileStore.getState().getToken(); + reportCaptchaSolve(true); return token; } catch (err) { @@ -103,7 +104,7 @@ export function TurnstileProvider(props: { { From 82e9c4de4fe5c42be7e0977d4cd84a672afe8658 Mon Sep 17 00:00:00 2001 From: Vikas Kapadiya Date: Sun, 9 Jun 2024 22:49:46 +0530 Subject: [PATCH 2/2] [wip] testing --- src/index.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 3363aa15..6e8dde22 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -176,7 +176,6 @@ const root = createRoot(container!); root.render( - }>