Skip to content

Commit 52d76e9

Browse files
ci: apply automated fixes
1 parent d7dc082 commit 52d76e9

File tree

4 files changed

+27
-30
lines changed

4 files changed

+27
-30
lines changed

packages/devtools/src/components/main-panel.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ import clsx from 'clsx'
22
import { useDevtoolsSettings, useHeight } from '../context/use-devtools-context'
33
import { useStyles } from '../styles/use-styles'
44
import { TANSTACK_DEVTOOLS } from '../utils/storage'
5-
import type { Accessor, JSX } from 'solid-js/jsx-runtime'
6-
5+
import type { Accessor, JSX } from 'solid-js/jsx-runtime'
76

87
export const MainPanel = (props: {
98
isOpen: Accessor<boolean>

packages/devtools/src/context/devtools-context.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ import {
99
} from '../utils/storage'
1010
import { initialState } from './devtools-store'
1111
import type { DevtoolsStore } from './devtools-store'
12-
import type { JSX, Setter } from 'solid-js'
13-
12+
import type { JSX, Setter } from 'solid-js'
1413

1514
export interface TanStackDevtoolsPlugin {
1615
/**

packages/react-devtools/README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -40,18 +40,18 @@ import { TanstackDevtools } from '@tanstack/react-devtools'
4040

4141
function App() {
4242
return (
43-
<div>
44-
<h1>My App</h1>
45-
<TanstackDevtools
46-
plugins={[
47-
{
48-
id: "your-plugin-id",
49-
name: "Your Plugin",
50-
render: <CustomPluginComponent />,
51-
}
52-
]}
53-
/>
54-
</div>
43+
<div>
44+
<h1>My App</h1>
45+
<TanstackDevtools
46+
plugins={[
47+
{
48+
id: 'your-plugin-id',
49+
name: 'Your Plugin',
50+
render: <CustomPluginComponent />,
51+
},
52+
]}
53+
/>
54+
</div>
5555
)
5656
}
5757
```

packages/solid-devtools/README.md

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ function App() {
2525
}
2626
```
2727

28-
2928
## Creating plugins
3029

3130
In order to create a plugin for TanStack Devtools, you can use the `plugins` prop of the `TanstackDevtools` component. Here's an example of how to create a simple plugin:
@@ -35,18 +34,18 @@ import { TanstackDevtools } from '@tanstack/solid-devtools'
3534

3635
function App() {
3736
return (
38-
<div>
39-
<h1>My App</h1>
40-
<TanstackDevtools
41-
plugins={[
42-
{
43-
id: "your-plugin-id",
44-
name: "Your Plugin",
45-
render: <CustomPluginComponent />,
46-
}
47-
]}
48-
/>
49-
</div>
37+
<div>
38+
<h1>My App</h1>
39+
<TanstackDevtools
40+
plugins={[
41+
{
42+
id: 'your-plugin-id',
43+
name: 'Your Plugin',
44+
render: <CustomPluginComponent />,
45+
},
46+
]}
47+
/>
48+
</div>
5049
)
5150
}
52-
```
51+
```

0 commit comments

Comments
 (0)