Skip to content

Commit

Permalink
fix: recaptcha provider not working with dynamic recaptchaKey
Browse files Browse the repository at this point in the history
  • Loading branch information
t49tran committed Oct 21, 2021
1 parent 7febccb commit 8110bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google-recaptcha-provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export function GoogleReCaptchaProvider({
return () => {
cleanGoogleRecaptcha(scriptId);
};
}, [useEnterprise, useRecaptchaNet, scriptProps, language]);
}, [useEnterprise, useRecaptchaNet, scriptProps, language, reCaptchaKey]);

const executeRecaptcha = useCallback(
async (action?: string) => {
Expand Down

0 comments on commit 8110bb6

Please sign in to comment.