From b1b357347b25bc3967824ee1d494c56901e3e7ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Thu, 29 Jan 2026 17:13:30 +0800 Subject: [PATCH] Remove unused installedVersion prop from PluginStoreCard The installedVersion prop was declared but not used in PluginStoreCard. This commit removes it to clean up the component's props. --- .../src/components/display_card/plugin_store_card.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/napcat-webui-frontend/src/components/display_card/plugin_store_card.tsx b/packages/napcat-webui-frontend/src/components/display_card/plugin_store_card.tsx index ec5242d3..1394fa2d 100644 --- a/packages/napcat-webui-frontend/src/components/display_card/plugin_store_card.tsx +++ b/packages/napcat-webui-frontend/src/components/display_card/plugin_store_card.tsx @@ -19,7 +19,6 @@ const PluginStoreCard: React.FC = ({ data, onInstall, installStatus = 'not-installed', - installedVersion, }) => { const { name, version, author, description, tags, id } = data; const [processing, setProcessing] = useState(false);