From 51f0f21a4770dc638fabab98a6eaaa9859045927 Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 28 Nov 2024 14:30:31 +0800 Subject: [PATCH] chore: not load updateInfo can not install --- .../install-from-local-package/steps/install.tsx | 6 +++--- .../install-from-marketplace/steps/install.tsx | 12 ++++-------- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/web/app/components/plugins/install-plugin/install-from-local-package/steps/install.tsx b/web/app/components/plugins/install-plugin/install-from-local-package/steps/install.tsx index 37f2bde06f..d37275f19a 100644 --- a/web/app/components/plugins/install-plugin/install-from-local-package/steps/install.tsx +++ b/web/app/components/plugins/install-plugin/install-from-local-package/steps/install.tsx @@ -34,7 +34,7 @@ const Installed: FC = ({ const { t } = useTranslation() const toInstallVersion = payload.version const pluginId = `${payload.author}/${payload.name}` - const { installedInfo } = useCheckInstalled({ + const { installedInfo, isLoading } = useCheckInstalled({ pluginIds: [pluginId], enabled: !!pluginId, }) @@ -126,7 +126,7 @@ const Installed: FC = ({ = ({