Skip to content

Commit c317cb5

Browse files
authored
Merge pull request dozoisch#130 from omidnikrah/patch-1
Fix arrow function in README
2 parents 4d38d15 + 6c4d0e9 commit c317cb5

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)