Skip to content

fix: add a missing import statement in useFormStatus.md #6356

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

Merged
merged 2 commits into from
Oct 18, 2023

Conversation

koba04
Copy link
Member

@koba04 koba04 commented Oct 18, 2023

This adds a missing import statement for useFormStatus in the Reference section.
Other Reference sections in hooks pages have an import statement, so I've added it for consistency.

refs. https://react.dev/reference/react/useCallback

This also avoids a common mistake of importing useFormStatus from react rather than react-dom.

Co-authored-by: Ahmed Abdelbaset <A7med3bdulBaset@gmail.com>
@github-actions
Copy link

Size changes

📦 Next.js Bundle Analysis for react-dev

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

@harish-sethuraman harish-sethuraman merged commit 10574e5 into reactjs:main Oct 18, 2023
@koba04 koba04 deleted the patch-1 branch October 18, 2023 09:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants