We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a2382f commit 4997833Copy full SHA for 4997833
components/auth/PhoneAuthExample.tsx
@@ -25,12 +25,13 @@ export function PhoneAuthExample() {
25
26
try {
27
// Create reCAPTCHA verifier (visible widget for better UX)
28
- const verifier = ensurePhoneRecaptcha('recaptcha-container', 'normal');
+ // Note: The service helper manages the verifier instance internally
29
+ ensurePhoneRecaptcha('recaptcha-container');
30
31
setStatus('Requesting SMS code...');
32
33
// Request SMS code
- const confirmationResult = await signInWithPhone(phoneNumber, verifier);
34
+ const confirmationResult = await signInWithPhone(phoneNumber, 'recaptcha-container');
35
36
setConfirmation(confirmationResult);
37
setStatus('SMS code sent! Check your phone.');
0 commit comments