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

pull/12372/head
twwu 1 year ago
parent 1a547b0db9
commit 4c516a50b8

@ -7,7 +7,7 @@ import {
RiHardDrive3Line, RiHardDrive3Line,
RiVerifiedBadgeLine, RiVerifiedBadgeLine,
} from '@remixicon/react' } from '@remixicon/react'
import type { InstalledPlugin } from '../types' import type { PluginDetail } from '../types'
import { PluginSource } from '../types' import { PluginSource } from '../types'
import Description from '../card/base/description' import Description from '../card/base/description'
import Icon from '../card/base/card-icon' import Icon from '../card/base/card-icon'
@ -30,7 +30,7 @@ import cn from '@/utils/classnames'
const i18nPrefix = 'plugin.action' const i18nPrefix = 'plugin.action'
type Props = { type Props = {
detail: InstalledPlugin detail: PluginDetail
onHide: () => void onHide: () => void
onDelete: () => void onDelete: () => void
} }

Loading…
Cancel
Save