aws-amplify / aws-amplify/docs

google captcha react snippet missing `useState` import

Open
#6,846 0 comments 0 reactions 0 assignees View on GitHub
amplify/js p2
Dominant language
MDX
Stars
506
Forks
1.1k
Avg merge
3h 14m
Merged PRs (30d)
1

Description

**Describe the content issue**:
A clear and concise description of what the content issue is. Is there content missing or is there incorrect content?

**URL page where content issue is**:

https://docs.amplify.aws/javascript/tools/cli/usage/lambda-triggers/#custom-auth-challenge-with-google-recaptcha

```
src/App.js
Line 30:41: 'useState' is not defined no-undef
Line 35:9: 'username' is not defined no-undef
Line 36:9: 'password' is not defined no-undef
Line 48:24: 'CaptchaConfirmation' is not defined react/jsx-no-undef
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.