mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 15:57:06 +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,
|
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…
Reference in New Issue
Block a user