Skip to content

Commit a1c885c

Browse files
authored
fix: Fix translation errors in useTransition (#1828)
2 parents d2739d5 + 996378c commit a1c885c

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
@@ -1717,7 +1717,7 @@ startTransition(async () => {
17171717
```js
17181718
startTransition(async () => {
17191719
await someAsyncFunction();
1720-
// ✅ 在 startTransition **之后** 再 await
1720+
// ✅ 在 await 之后 调用 startTransition
17211721
startTransition(() => {
17221722
setPage('/about');
17231723
});

0 commit comments

Comments
 (0)