diff --git a/packages/lib/src/lib.tsx b/packages/lib/src/lib.tsx index 67c739e..b1d0937 100644 --- a/packages/lib/src/lib.tsx +++ b/packages/lib/src/lib.tsx @@ -173,7 +173,10 @@ export const Turnstile = forwardRef { cancelled = true - if (widgetId.current) window.turnstile!.remove(widgetId.current) + if (widgetId.current) { + window.turnstile!.remove(widgetId.current) + widgetSolved.current = false + } } }, [containerId, turnstileLoaded, renderConfig]