Skip to content

Commit db5c05b

Browse files
authored
Update src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md
1 parent a05537a commit db5c05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/blog/2025/04/23/react-labs-view-transitions-activity-and-more.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1774,7 +1774,7 @@ export function Router({ children }) {
17741774
const [isPending, startTransition] = useTransition();
17751775

17761776
function navigate(url) {
1777-
// Update router state in transition.
1777+
// 在过渡中更新路由器状态。
17781778
startTransition(() => {
17791779
go(url);
17801780
});

0 commit comments

Comments
 (0)