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

Fix reference to useAtom #45

Closed
wants to merge 2 commits into from
Closed

Conversation

spatterspace
Copy link

Changes proposed

On the theme setting page, the tutorial incorrectly refers to the useAtom hook as useState. This PR replaces useState with useAtom to match the code sample. It also corrects "passed" to "pass" to match the imperative tense of "initialize."

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Copy link

vercel bot commented Nov 27, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
jotai-tutorial ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 27, 2024 2:31pm

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for opening an PR. We will review the PR and provide feedback as soon as we can.' first pr

@spatterspace spatterspace closed this by deleting the head repository Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant