fix: update type from InstalledPlugin to PluginDetail in detail-header component

This commit is contained in:
twwu 2024-11-05 16:53:54 +08:00
parent 1a547b0db9
commit 4c516a50b8

View File

@ -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
}