diff --git a/packages/devtools/src/context/devtools-context.tsx b/packages/devtools/src/context/devtools-context.tsx index cb808457..30302256 100644 --- a/packages/devtools/src/context/devtools-context.tsx +++ b/packages/devtools/src/context/devtools-context.tsx @@ -85,7 +85,7 @@ const generatePluginId = (plugin: TanStackDevtoolsPlugin, index: number) => { } if (typeof plugin.name === 'string') { // if name is a string, use it to generate an id - return plugin.name.toLowerCase().replace(' ', '-') + return `${plugin.name.toLowerCase().replace(' ', '-')}-${index}` } // Name is JSX? return the index as a string return index.toString()