Skip to content

Commit 6c4d0e9

Browse files
authored
Fix arrow function in README
1 parent 4d38d15 commit 6c4d0e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Example:
6666
```javascript
6767
const recaptchaRef = React.createRef();
6868
...
69-
onSubmit = () ={
69+
onSubmit = () => {
7070
const recaptchaValue = recaptchaRef.current.getValue();
7171
this.props.onSubmit(recaptchaValue);
7272
}

0 commit comments

Comments
 (0)