Skip to content

Commit cb041a3

Browse files
committed
[fixed] issue with handleExpired not being bound
- this is due to recent migration to es6 classes
1 parent 00acbc1 commit cb041a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/recaptcha.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export default class ReCAPTCHA extends React.Component {
55
constructor() {
66
super();
77
this.state = {};
8+
this.handleExpired = this.handleExpired.bind(this);
89
}
910

1011
getValue() {

0 commit comments

Comments
 (0)