Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ToDo Doc Issue at https://docs.amplify.aws/react/start/getting-started/auth/#create-login-ui #6809

Open
shanecp opened this issue Jan 21, 2024 · 0 comments
Assignees
Labels

Comments

@shanecp
Copy link

shanecp commented Jan 21, 2024

Describe the content issue:
The example ToDo app fails to compile.

The section,

return (
  <div style={styles.container}>
    <Heading level={1}>Hello {user.username}</Heading>
    <Button onClick={signOut}>Sign out</Button>
    <h2>Amplify Todos</h2>
    ...
  </div>
);

Nullable type user.username should be fixed as user?.username

URL page where content issue is:
https://docs.amplify.aws/react/start/getting-started/auth/#create-login-ui

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants