Skip to content

Commit 8b9881b

Browse files
committed
docs: fix incorrect article usage (a/an)
- 'an custom' -> 'a custom' in components/index.md (consonant sound) - 'a object' -> 'an object' in taintUniqueValue.md (vowel sound)
1 parent 1207ee3 commit 8b9881b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/content/reference/react-dom/components/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Non-string JavaScript values passed to custom elements will be serialized by def
186186
<my-element value={[1,2,3]}></my-element>
187187
```
188188

189-
React will, however, recognize an custom element's property as one that it may pass arbitrary values to if the property name shows up on the class during construction:
189+
React will, however, recognize a custom element's property as one that it may pass arbitrary values to if the property name shows up on the class during construction:
190190

191191
<Sandpack>
192192

src/content/reference/react/experimental_taintUniqueValue.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ experimental_taintUniqueValue(
9191
);
9292
```
9393

94-
If the tainted value's lifespan is tied to a object, the `lifetime` should be the object that encapsulates the value. This ensures the tainted value remains protected for the lifetime of the encapsulating object.
94+
If the tainted value's lifespan is tied to an object, the `lifetime` should be the object that encapsulates the value. This ensures the tainted value remains protected for the lifetime of the encapsulating object.
9595

9696
```js
9797
import {experimental_taintUniqueValue} from 'react';

0 commit comments

Comments
 (0)