From 422a34ead40ca9c5b72ec9db705f38f86148001b Mon Sep 17 00:00:00 2001 From: Junyan Qin Date: Thu, 26 Feb 2026 22:53:29 +0800 Subject: [PATCH] fix: plugins in recommendation cannot be installed --- .../components/plugin-market/PluginMarketComponent.tsx | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx b/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx index 2835796a..1b1e8953 100644 --- a/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx +++ b/web/src/app/home/plugins/components/plugin-market/PluginMarketComponent.tsx @@ -297,15 +297,6 @@ function MarketPageContent({ const handleInstallPlugin = useCallback( async (author: string, pluginName: string) => { try { - // Find the full plugin object from the list - const pluginVO = plugins.find( - (p) => p.author === author && p.pluginName === pluginName, - ); - if (!pluginVO) { - console.error('Plugin not found:', author, pluginName); - return; - } - // Fetch full plugin details to get PluginV4 object const response = await getCloudServiceClientSync().getPluginDetail( author,