Skip to content

fix the useRecaptchaVerifier hook async condition#1321

Open
selvan wants to merge 6 commits intofirebase:mainfrom
selvan:main
Open

fix the useRecaptchaVerifier hook async condition#1321
selvan wants to merge 6 commits intofirebase:mainfrom
selvan:main

Conversation

@selvan
Copy link

@selvan selvan commented Feb 1, 2026

The useRecaptchaVerifier hook calls render() on the verifier, but this is an async operation that may not complete immediately. Phone/sms auth forms are intialized with null recapcha verifier, causing the auth/argument-error on submit.

@MichaelVerdon
Copy link
Contributor

Hey there, can you run pnpm lint:fix ?

@selvan
Copy link
Author

selvan commented Feb 3, 2026

@MichaelVerdon, ran pnpm lint:fix & pushed the changes

@MichaelVerdon
Copy link
Contributor

Done some testing around and this definitely seems to resolve the issue and looks good to me, thanks. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants