Skip to content

Commit 61b9763

Browse files
authored
docs(eslint/no-unstable-deps): correct 'react' package name casing in examples (#10553)
fix(docs): correct import casing in no-unstable-deps examples
1 parent e2a945e commit 61b9763

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docs/eslint/no-unstable-deps.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Examples of **incorrect** code for this rule:
2222

2323
```tsx
2424
/* eslint "@tanstack/query/no-unstable-deps": "warn" */
25-
import { useCallback } from 'React'
25+
import { useCallback } from 'react'
2626
import { useMutation } from '@tanstack/react-query'
2727

2828
function Component() {
@@ -38,7 +38,7 @@ Examples of **correct** code for this rule:
3838

3939
```tsx
4040
/* eslint "@tanstack/query/no-unstable-deps": "warn" */
41-
import { useCallback } from 'React'
41+
import { useCallback } from 'react'
4242
import { useMutation } from '@tanstack/react-query'
4343

4444
function Component() {

0 commit comments

Comments
 (0)