Skip to content

Commit 38e1a26

Browse files
committed
fix: no promise to resolve
1 parent c4ed5fb commit 38e1a26

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/index.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,6 @@ class HCaptcha extends React.Component {
277277

278278
hcaptcha.reset(captchaId) // If hCaptcha runs into error, reset captcha - hCaptcha
279279

280-
this._cancelPendingExecute('hcaptcha-token-expired');
281-
282280
if (onExpire) onExpire();
283281
}
284282

0 commit comments

Comments
 (0)