Skip to content

Commit e752167

Browse files
committed
chore(examples): ident between the Solid and React basic examples
1 parent 9ba6967 commit e752167

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

examples/react/basic/src/index.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { createRoot } from 'react-dom/client'
22
import Devtools from './setup'
33
import { queryPlugin } from './plugin'
4+
45
setTimeout(() => {
56
queryPlugin.emit('test', {
67
title: 'Test Event',
@@ -12,10 +13,11 @@ setTimeout(() => {
1213
queryPlugin.on('test', (event) => {
1314
console.log('Received test event:', event)
1415
})
16+
1517
function App() {
1618
return (
1719
<div>
18-
<h1>TanStack Devtools Basic Example</h1>
20+
<h1>TanStack Devtools React Basic Example</h1>
1921
<Devtools />
2022
</div>
2123
)

examples/solid/basic/src/index.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
import { render } from 'solid-js/web'
22
import Devtools from './setup'
3+
34
function App() {
45
return (
56
<div>
6-
<h1>TanStack Devtools Basic Example</h1>
7+
<h1>TanStack Devtools Solid Basic Example</h1>
78
<Devtools />
89
</div>
910
)

0 commit comments

Comments
 (0)