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

docs: typo useFormState import statement #72120

Merged
merged 2 commits into from
Oct 31, 2024

Conversation

JamBalaya56562
Copy link
Contributor

Summary

Unlike useActionState, useFormState is imported from react-dom.

Improving Documentation

@ijjk ijjk added the Documentation Related to Next.js' official documentation. label Oct 31, 2024
@ijjk
Copy link
Member

ijjk commented Oct 31, 2024

Allow CI Workflow Run

  • approve CI run for commit: f254339

Note: this should only be enabled once the PR is ready to go and can only be enabled by a maintainer

Copy link
Contributor

@delbaoliveira delbaoliveira left a comment

Choose a reason for hiding this comment

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

Good catch, thank you 🙏🏼

@delbaoliveira delbaoliveira enabled auto-merge (squash) October 31, 2024 14:03
@delbaoliveira delbaoliveira merged commit 9e40d78 into vercel:canary Oct 31, 2024
38 checks passed
@JamBalaya56562 JamBalaya56562 deleted the useFormState branch October 31, 2024 18:20
stipsan pushed a commit to sanity-io/next.js that referenced this pull request Nov 6, 2024
## Summary
Unlike
[`useActionState`](https://react.dev/reference/react/useActionState),
`useFormState` is imported from `react-dom`.

### Improving Documentation

- [x] Run `pnpm prettier-fix` to fix formatting issues before opening
the PR.
- [x] Read the Docs Contribution Guide to ensure your contribution
follows the docs guidelines:
https://nextjs.org/docs/community/contribution-guide

Co-authored-by: Delba de Oliveira <32464864+delbaoliveira@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Related to Next.js' official documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants