Skip to content

Commit e0ae902

Browse files
authored
Update src/content/reference/react/useTransition.md
1 parent 7bc0619 commit e0ae902

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
@@ -1760,7 +1760,7 @@ function setState() {
17601760
17611761
在这个示例中,`updateQuantity` 函数模拟向服务端发送请求以更新购物车中的商品数量。该函数*人为地让每隔一次请求在前一次之后返回*,用于模拟网络请求的竞态条件。
17621762
1763-
尝试更新一次数量,然后快速多次更新。您可能会看到错误的总计
1763+
尝试更新一次数量,然后快速多次更新。你可能会看到错误的总计
17641764
17651765
<Sandpack>
17661766

0 commit comments

Comments
 (0)