Skip to content

Commit 37ebb88

Browse files
authored
chore: fix issue with config (#259)
1 parent 096744e commit 37ebb88

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.changeset/full-humans-create.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@tanstack/devtools-utils': patch
3+
---
4+
5+
fix config issue

packages/devtools-utils/src/react/plugin.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@ export function createReactPlugin({
1212
}) {
1313
function Plugin() {
1414
return {
15-
config,
15+
...config,
1616
render: (_el: HTMLElement, theme: 'light' | 'dark') => (
1717
<Component theme={theme} />
1818
),
1919
}
2020
}
2121
function NoOpPlugin() {
2222
return {
23-
config,
23+
...config,
2424
render: (_el: HTMLElement, _theme: 'light' | 'dark') => <></>,
2525
}
2626
}

0 commit comments

Comments
 (0)