Skip to content

Commit 73a5fdd

Browse files
docs: fix typo in update useTransition.md (#7936)
1 parent 4d53629 commit 73a5fdd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/reference/react/useTransition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1773,7 +1773,7 @@ function setState() {
17731773
17741774
If you `await` inside `startTransition`, you might see the updates happen out of order.
17751775
1776-
In this example, the `updateQuantity` function simulates a request to the server to update the item's quantity in the cart. This function *artificially returns the every other request after the previous* to simulate race conditions for network requests.
1776+
In this example, the `updateQuantity` function simulates a request to the server to update the item's quantity in the cart. This function *artificially returns every other request after the previous* to simulate race conditions for network requests.
17771777
17781778
Try updating the quantity once, then update it quickly multiple times. You might see the incorrect total:
17791779

0 commit comments

Comments
 (0)