Skip to content

Commit 96bd06f

Browse files
committed
docs: minor fixes
1 parent 4b8ebc9 commit 96bd06f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-direct-set-state-in-use-effect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ The rule **does not flag** indirect calls, such as:
6666
}, [firstName, lastName]);
6767
```
6868

69-
- It doesn’t detect `set` calls in `async` functions are being called before or after the `await` statement.
69+
- It doesn’t detect `set` calls in `async` functions are being called before the `await` statement.
7070

7171
```tsx {2}
7272
useEffect(() => {

packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-direct-set-state-in-use-layout-effect.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The rule **does not flag** indirect calls, such as:
7272
}, [firstName, lastName]);
7373
```
7474

75-
- It doesn’t detect `set` calls in `async` functions are being called before or after the `await` statement.
75+
- It doesn’t detect `set` calls in `async` functions are being called before the `await` statement.
7676

7777
```tsx {2}
7878
useLayoutEffect(() => {

0 commit comments

Comments
 (0)