mirror of
https://github.com/hanzonet/explore.git
synced 2026-10-30 18:16:57 +00:00
* show recaptcha in the site footer * replace badge in footer with text * add invisible reCaptcha v2 * handle unsolved reCaptcha case * migrate the rest of components to invisible reCaptcha v2 * remove unused code * refactoring * add env for demo * fix tests * update values for demo * update link to secret in vault * mock recaptcha for tests * ohhh victor victor * fix token metadata update test * deprecate variable for ReCaptcha v3
9 lines
166 B
JavaScript
9 lines
166 B
JavaScript
const useReCaptcha = () => {
|
|
return {
|
|
ref: { current: null },
|
|
executeAsync: () => Promise.resolve('recaptcha_token'),
|
|
};
|
|
};
|
|
|
|
export default useReCaptcha;
|