Skip to content

fix(experience): prevent multiple captcha widget #7284

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

wangsijie
Copy link
Contributor

Summary

Clear dom element before rendering captcha widget, to prevent multiple instance.

Testing

Local tested.

Checklist

  • .changeset
  • unit tests
  • integration tests
  • necessary TSDoc comments

@wangsijie wangsijie requested a review from a team April 14, 2025 02:18
Copy link

COMPARE TO master

Total Size Diff 📈 +145 Bytes

Diff by File
Name Diff
packages/experience/src/Providers/CaptchaContextProvider/index.tsx 📈 +145 Bytes

@wangsijie wangsijie merged commit 8edbc56 into master Apr 15, 2025
35 checks passed
@wangsijie wangsijie deleted the wangsijie-log-11291-only-display-the-newest-captcha-widget branch April 15, 2025 05:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants