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 7f7682d commit 78ab924Copy full SHA for 78ab924
src/google-recaptcha-provider.tsx
@@ -87,7 +87,7 @@ export function GoogleReCaptchaProvider({
87
const scriptId = scriptProps?.id || 'google-recaptcha-v3';
88
const onLoadCallbackName = scriptProps?.onLoadCallbackName || 'onRecaptchaLoadCallback';
89
90
- (window as {[key: string]: any})[onLoadCallbackName] = () => {
+ ((window as unknown) as {[key: string]: () => void})[onLoadCallbackName] = () => {
91
const grecaptcha = useEnterprise
92
? (window as any).grecaptcha.enterprise
93
: (window as any).grecaptcha;
0 commit comments