Skip to content

Commit 4a05b6f

Browse files
authored
Minor grammar fix
1 parent 798f2ca commit 4a05b6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/rules/no-render-return-value.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@ Source: [React Top-Level API documentation](http://facebook.github.io/react/docs
88

99
This rule will warn you if you try to use the `ReactDOM.render()` return value.
1010

11-
The following pattern is considered warning:
11+
The following pattern is considered a warning:
1212

1313
```js
1414
const inst = ReactDOM.render(<App />, document.body);
1515
doSomethingWithInst(inst);
1616
```
1717

18-
The following patterns are not considered warning:
18+
The following patterns are not considered warnings:
1919

2020
```js
2121
ReactDOM.render(<App ref={doSomethingWithInst} />, document.body);

0 commit comments

Comments
 (0)