Skip to content

Commit f261274

Browse files
smikitkyhoney32
andauthored
Apply suggestions from code review
Co-authored-by: honey32 <mitsu.take.gemini@gmail.com>
1 parent a7b371f commit f261274

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/reference/react/useActionState.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -263,7 +263,7 @@ button {
263263
264264
#### `useActionState` のキューイングの仕組み {/*how-useactionstate-queuing-works*/}
265265
266-
"Add Ticket" を複数回クリックしてみてください。クリックするたびに、新しい `addToCartAction` がキューに入ります。人工的に 1 秒の遅延があるため、4 回クリックすると完了まで約 4 秒かかります。
266+
"Add Ticket" を複数回クリックしてみてください。クリックするたびに、新しい `addToCartAction` がキューに入ります。人工的な 1 秒の遅延があるため、4 回クリックすると完了まで約 4 秒かかります。
267267
268268
**これは `useActionState` の設計上意図されたものです。**
269269
@@ -1481,7 +1481,7 @@ function MyComponent() {
14811481
14821482
### "An async function with useActionState was called outside of a transition." というエラーが出る {/*async-function-outside-transition*/}
14831483
1484-
よくある間違いは、トランジション内から `dispatchAction` を呼び出し忘れることです
1484+
よくある間違いは、`dispatchAction` をトランジション内から呼び出すのを忘れることです
14851485
14861486
<ConsoleBlockMulti>
14871487
<ConsoleLogLine level="error">

0 commit comments

Comments
 (0)