From 14565e326c90eefa7a1f50b441148a446dc971df Mon Sep 17 00:00:00 2001 From: twwu Date: Mon, 21 Jul 2025 14:05:25 +0800 Subject: [PATCH] refactor: add DeprecationNotice component and update import path in DetailHeader --- .../{plugin-detail-panel => base}/deprecation-notice.tsx | 0 .../components/plugins/plugin-detail-panel/detail-header.tsx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename web/app/components/plugins/{plugin-detail-panel => base}/deprecation-notice.tsx (100%) diff --git a/web/app/components/plugins/plugin-detail-panel/deprecation-notice.tsx b/web/app/components/plugins/base/deprecation-notice.tsx similarity index 100% rename from web/app/components/plugins/plugin-detail-panel/deprecation-notice.tsx rename to web/app/components/plugins/base/deprecation-notice.tsx diff --git a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx index 3dccf6b19b..4722cccbe9 100644 --- a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx +++ b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx @@ -39,7 +39,7 @@ import { getMarketplaceUrl } from '@/utils/var' import { PluginAuth } from '@/app/components/plugins/plugin-auth' import { AuthCategory } from '@/app/components/plugins/plugin-auth' import { useAllToolProviders } from '@/service/use-tools' -import DeprecationNotice from './deprecation-notice' +import DeprecationNotice from '../base/deprecation-notice' const i18nPrefix = 'plugin.action'