Skip to content

Commit bb7e071

Browse files
committed
Merge branch 'fix/eslint-disable-next-line-syntax' into docs/fix-camelcase-section-heading
2 parents f35cd55 + 95b0242 commit bb7e071

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/removing-effect-dependencies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ button { margin-left: 10px; }
285285
useEffect(() => {
286286
// ...
287287
// 🔴 Avoid suppressing the linter like this:
288-
// eslint-ignore-next-line react-hooks/exhaustive-deps
288+
// eslint-disable-next-line react-hooks/exhaustive-deps
289289
}, []);
290290
```
291291

0 commit comments

Comments
 (0)