Skip to content

Commit 21d1ed0

Browse files
authored
Fix wording for clarity in useTransition documentation
"instead" is used twice in the sentence
1 parent 40ea071 commit 21d1ed0

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
@@ -1053,7 +1053,7 @@ b { display: inline-block; margin-right: 10px; }
10531053
10541054
</Sandpack>
10551055
1056-
Hiding the entire tab container to show a loading indicator leads to a jarring user experience. If you add `useTransition` to `TabButton`, you can instead display the pending state in the tab button instead.
1056+
Hiding the entire tab container to show a loading indicator leads to a jarring user experience. If you add `useTransition` to `TabButton`, you can display the pending state in the tab button instead.
10571057
10581058
Notice that clicking "Posts" no longer replaces the entire tab container with a spinner:
10591059

0 commit comments

Comments
 (0)