mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 17:08:03 +08:00
feat: finsh loading error comp
This commit is contained in:
@ -8,6 +8,7 @@ import { useFetchPluginsInMarketPlaceByIds } from '@/service/use-plugins'
|
||||
import produce from 'immer'
|
||||
import { useGetState } from 'ahooks'
|
||||
import PackageItem from '../item/package-item'
|
||||
import LoadingError from '../../base/loading-error'
|
||||
|
||||
type Props = {
|
||||
allPlugins: Dependency[]
|
||||
@ -105,7 +106,7 @@ const InstallByDSLList: FC<Props> = ({
|
||||
{allPlugins.map((d, index) => {
|
||||
if (errorIndexes.includes(index)) {
|
||||
return (
|
||||
<div key={index}>error</div>
|
||||
<LoadingError key={index} />
|
||||
)
|
||||
}
|
||||
if (d.type === 'github') {
|
||||
|
||||
Reference in New Issue
Block a user