Skip to content

Commit

Permalink
Update src/content/reference/react-dom/hooks/useFormStatus.md
Browse files Browse the repository at this point in the history
Co-authored-by: Xleine <[email protected]>
  • Loading branch information
Yucohny and loveloki authored Oct 20, 2023
1 parent a1af04f commit bb17500
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/content/reference/react-dom/hooks/useFormStatus.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function Form() {
}
```

而应该从位于 `<form>` 内部的组件中调用 `useFormStatus`
正确的做法是从位于 `<form>` 内部的组件中调用 `useFormStatus`

```js
function Submit() {
Expand Down

0 comments on commit bb17500

Please sign in to comment.