You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This one is not a bug: useRecaptchaProvider only needs to be called once. The following example defines useRecaptchaProvider in the entry point app.vue
How do unmount useRecaptchaProvider(). If you want recaptcha only on certain pages. It seems once you use useRecaptchaProvider() within a component it is then mount across the whole app, and cannot be removed.
Description
I am using vue composition API in setup.
I am using next code
... rest of code
But when I open different pages with recaptcha. the same page multiple time it throw warning
useRecaptchaProvider
is used multiple timeMinimal Reproducible Example
To make it work I just had to check code and add condition to include provider only once
like this
Maybe we have to remove line 8 on screenhot. BUt this question to owner of this lib
System info
The text was updated successfully, but these errors were encountered: