mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
fix: update type from InstalledPlugin to PluginDetail in detail-header component
This commit is contained in:
parent
1a547b0db9
commit
4c516a50b8
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user