Skip to content

Commit 8110bb6

Browse files
committed
fix: recaptcha provider not working with dynamic recaptchaKey
1 parent 7febccb commit 8110bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/google-recaptcha-provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ export function GoogleReCaptchaProvider({
105105
return () => {
106106
cleanGoogleRecaptcha(scriptId);
107107
};
108-
}, [useEnterprise, useRecaptchaNet, scriptProps, language]);
108+
}, [useEnterprise, useRecaptchaNet, scriptProps, language, reCaptchaKey]);
109109

110110
const executeRecaptcha = useCallback(
111111
async (action?: string) => {

0 commit comments

Comments
 (0)