diff --git a/src/field/captcha/third_party_captcha.jsx b/src/field/captcha/third_party_captcha.jsx index 76b5afdc1..d2f006b98 100644 --- a/src/field/captcha/third_party_captcha.jsx +++ b/src/field/captcha/third_party_captcha.jsx @@ -72,6 +72,14 @@ const providerDomPrefix = (provider) => { } }; +const providerComponentId = (provider) => { + if (provider === HCAPTCHA_PROVIDER) { + return 'h-captcha'; + } else { + return ''; + } +}; + const loadScript = (url, attributes) => { var script = document.createElement('script'); for (var attr in attributes) { @@ -302,7 +310,7 @@ export class ThirdPartyCaptcha extends React.Component { : `auth0-lock-${providerDomPrefix(this.props.provider)}-block auth0-lock-${providerDomPrefix(this.props.provider)}-block-error` } > -
+ ); }