Skip to content

Commit bb94842

Browse files
authored
Fix capitalization of TanStackDevtools references in devtools docs
Replaces `TanstackDevtools` with `TanStackDevtools`, as the former is not exported from the `@tanstack/react-devtools` package
1 parent 684dec0 commit bb94842

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

docs/framework/react/guides/devtools.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,26 +14,26 @@ npm i @tanstack/react-devtools
1414
npm i @tanstack/react-form-devtools
1515
```
1616

17-
Next in the root of your application import the `TanstackDevtools`.
17+
Next in the root of your application import the `TanStackDevtools`.
1818

1919
```tsx
20-
import { TanstackDevtools } from '@tanstack/react-devtools'
20+
import { TanStackDevtools } from '@tanstack/react-devtools'
2121

2222
import App from './App'
2323

2424
createRoot(document.getElementById('root')!).render(
2525
<StrictMode>
2626
<App />
2727

28-
<TanstackDevtools />
28+
<TanStackDevtools />
2929
</StrictMode>,
3030
)
3131
```
3232

33-
Import the `FormDevtoolsPlugin` from **TanStack Form** and provide it to the `TanstackDevtools` component.
33+
Import the `FormDevtoolsPlugin` from **TanStack Form** and provide it to the `TanStackDevtools` component.
3434

3535
```tsx
36-
import { TanstackDevtools } from '@tanstack/react-devtools'
36+
import { TanStackDevtools } from '@tanstack/react-devtools'
3737
import { FormDevtoolsPlugin } from '@tanstack/react-form-devtools'
3838

3939
import App from './App'
@@ -42,11 +42,11 @@ createRoot(document.getElementById('root')!).render(
4242
<StrictMode>
4343
<App />
4444

45-
<TanstackDevtools plugins={[FormDevtoolsPlugin()]} />
45+
<TanStackDevtools plugins={[FormDevtoolsPlugin()]} />
4646
</StrictMode>,
4747
)
4848
```
4949

50-
Finally add any additional configuration you desire to the `TanstackDevtools` component, more information can be found under the [TanStack Devtools Configuration](https://tanstack.com/devtools/) section.
50+
Finally add any additional configuration you desire to the `TanStackDevtools` component, more information can be found under the [TanStack Devtools Configuration](https://tanstack.com/devtools/) section.
5151

5252
A complete working example can be found in our [examples section](https://tanstack.com/form/latest/docs/framework/react/examples/devtools).

0 commit comments

Comments
 (0)