From 4c516a50b87c6a2f72b23aedd51067af59ecebe3 Mon Sep 17 00:00:00 2001 From: twwu Date: Tue, 5 Nov 2024 16:53:54 +0800 Subject: [PATCH] fix: update type from InstalledPlugin to PluginDetail in detail-header component --- .../components/plugins/plugin-detail-panel/detail-header.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 c91cba093d..37831368e2 100644 --- a/web/app/components/plugins/plugin-detail-panel/detail-header.tsx +++ b/web/app/components/plugins/plugin-detail-panel/detail-header.tsx @@ -7,7 +7,7 @@ import { RiHardDrive3Line, RiVerifiedBadgeLine, } from '@remixicon/react' -import type { InstalledPlugin } from '../types' +import type { PluginDetail } from '../types' import { PluginSource } from '../types' import Description from '../card/base/description' import Icon from '../card/base/card-icon' @@ -30,7 +30,7 @@ import cn from '@/utils/classnames' const i18nPrefix = 'plugin.action' type Props = { - detail: InstalledPlugin + detail: PluginDetail onHide: () => void onDelete: () => void }