Skip to content
Snippets Groups Projects
Unverified Commit 4b5f0dea authored by Mariam A's avatar Mariam A Committed by GitHub
Browse files

Removed hcaptcha onVerified toast (#5329)

parent 3a13c54f
No related branches found
No related tags found
No related merge requests found
......@@ -40,10 +40,6 @@ function HCaptcha(_props, ref) {
console.error('Challenge expired, Timeout.');
toast.error(t('toast.error.problem_completing_action'));
},
handleVerified: () => {
toast.success(t('toast.success.success'));
},
}), [i18n.resolvedLanguage]);
if (!envAPI.data?.HCAPTCHA_KEY) {
......@@ -56,7 +52,6 @@ function HCaptcha(_props, ref) {
ref={ref}
size="invisible"
sitekey={envAPI.data.HCAPTCHA_KEY}
onVerify={HCaptchaHandlers.handleVerified}
onError={HCaptchaHandlers.handleError}
onExpire={HCaptchaHandlers.handleExpire}
onChalExpired={HCaptchaHandlers.handleChalExpired}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment