(pluginId: string)
| 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 />}> |
no test coverage detected