Skip to content

Commit 028d4b8

Browse files
committed
fix: pr comments and test
1 parent e4605f6 commit 028d4b8

File tree

3 files changed

+7
-23
lines changed

3 files changed

+7
-23
lines changed

.changeset/long-corners-repair.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
'@tanstack/pacer-devtools': patch
33
---
44

5-
Moves devtools theme to the component to avoid theme miss-match.
5+
Moves devtools theme to the component to avoid theme mismatch.

packages/pacer-devtools/src/PacerDevtools.tsx

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/pacer-devtools/src/components/index.tsx

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1+
import { ThemeContextProvider } from '@tanstack/devtools-ui'
12
import { PacerContextProvider } from '../PacerContextProvider'
23
import { Shell } from './Shell'
34

4-
import { ThemeContextProvider } from '@tanstack/devtools-ui'
5+
import type { TanStackDevtoolsTheme } from '@tanstack/devtools-ui'
56

6-
import type { DevtoolProps } from '@tanstack/devtools-utils/solid'
7+
interface DevtoolsProps {
8+
theme: TanStackDevtoolsTheme
9+
}
710

8-
export default function PacerDevtools(props: DevtoolProps) {
11+
export default function PacerDevtools(props: DevtoolsProps) {
912
return (
1013
<ThemeContextProvider theme={props.theme}>
1114
<PacerContextProvider>

0 commit comments

Comments
 (0)