diff --git a/.changeset/full-humans-create.md b/.changeset/full-humans-create.md new file mode 100644 index 00000000..00099db1 --- /dev/null +++ b/.changeset/full-humans-create.md @@ -0,0 +1,5 @@ +--- +'@tanstack/devtools-utils': patch +--- + +fix config issue diff --git a/packages/devtools-utils/src/react/plugin.tsx b/packages/devtools-utils/src/react/plugin.tsx index 41c73428..fad8b8cd 100644 --- a/packages/devtools-utils/src/react/plugin.tsx +++ b/packages/devtools-utils/src/react/plugin.tsx @@ -12,7 +12,7 @@ export function createReactPlugin({ }) { function Plugin() { return { - config, + ...config, render: (_el: HTMLElement, theme: 'light' | 'dark') => ( ), @@ -20,7 +20,7 @@ export function createReactPlugin({ } function NoOpPlugin() { return { - config, + ...config, render: (_el: HTMLElement, _theme: 'light' | 'dark') => <>, } }