Skip to content

Commit 2049ed0

Browse files
authored
Clarify pending state description in useTransition example
1 parent 7b6c3ce commit 2049ed0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/reference/react/useTransition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ These solutions handle request ordering for you. When using Transitions to build
320320

321321
In this example, the `updateQuantity` function also simulates a request to the server to update the item's quantity in the cart. This function is *artificially slowed down* so that it takes at least a second to complete the request.
322322

323-
Update the quantity multiple times quickly. Notice that the pending "Total" state is shown while any requests is in progress, but the "Total" updates multiple times for each time the "quantity" was clicked:
323+
Update the quantity multiple times quickly. Notice that the pending "Total" state is shown until the first request completes, but the "Total" updates multiple times for each time the "quantity" was clicked:
324324

325325
<Sandpack>
326326

0 commit comments

Comments
 (0)