MCPcopy Index your code
hub / github.com/TanStack/devtools / handlePluginClick

Function handlePluginClick

packages/devtools/src/tabs/plugins-tab.tsx:50–56  ·  view source on GitHub ↗
(pluginId: string)

Source from the content-addressed store, hash-verified

48 const handleMarketplaceClick = () => setShowMarketplace(!showMarketplace())
49
50 const handlePluginClick = (pluginId: string) => {
51 // Close marketplace when switching to a plugin
52 if (showMarketplace()) {
53 setShowMarketplace(false)
54 }
55 toggleActivePlugins(pluginId)
56 }
57
58 return (
59 <Show when={hasPlugins()} fallback={<PluginMarketplace />}>

Callers 1

PluginsTabFunction · 0.85

Calls 1

toggleActivePluginsFunction · 0.85

Tested by

no test coverage detected