Skip to content

Commit c3e0fcd

Browse files
committed
docs: fix duplicate article and incorrect article usage
- Remove duplicate 'a' in resumeAndPrerenderToNodeStream.md ('a a' -> 'a') - Fix article 'a Action' -> 'an Action' in useOptimistic.md
1 parent 1207ee3 commit c3e0fcd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/reference/react-dom/static/resumeAndPrerenderToNodeStream.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: resumeAndPrerenderToNodeStream
44

55
<Intro>
66

7-
`resumeAndPrerenderToNodeStream` continues a prerendered React tree to a static HTML string using a a [Node.js Stream.](https://nodejs.org/api/stream.html).
7+
`resumeAndPrerenderToNodeStream` continues a prerendered React tree to a static HTML string using a [Node.js Stream.](https://nodejs.org/api/stream.html).
88

99
```js
1010
const {prelude, postponed} = await resumeAndPrerenderToNodeStream(reactNode, postponedState, options?)

src/content/reference/react/useOptimistic.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ function handleClick() {
8383
8484
#### How optimistic state works {/*how-optimistic-state-works*/}
8585
86-
`useOptimistic` lets you show a temporary value while a Action is in progress:
86+
`useOptimistic` lets you show a temporary value while an Action is in progress:
8787
8888
```js
8989
const [value, setValue] = useState('a');

0 commit comments

Comments
 (0)