We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c00d9b commit 2d9f336Copy full SHA for 2d9f336
1 file changed
packages/devtools/src/context/devtools-context.tsx
@@ -85,7 +85,7 @@ const generatePluginId = (plugin: TanStackDevtoolsPlugin, index: number) => {
85
}
86
if (typeof plugin.name === 'string') {
87
// if name is a string, use it to generate an id
88
- return plugin.name.toLowerCase().replace(' ', '-')
+ return `${plugin.name.toLowerCase().replace(' ', '-')}-${index}`
89
90
// Name is JSX? return the index as a string
91
return index.toString()
0 commit comments