mirror of
https://github.com/langgenius/dify.git
synced 2026-05-05 01:48:04 +08:00
plugin detail header data binding
This commit is contained in:
@ -1,12 +1,8 @@
|
||||
'use client'
|
||||
import { useState } from 'react'
|
||||
import type { Plugin } from '../types'
|
||||
import type { PluginDetail } from '../types'
|
||||
import PluginDetailPanel from '@/app/components/plugins/plugin-detail-panel'
|
||||
import {
|
||||
// extensionDallE,
|
||||
// modelGPT4,
|
||||
toolNotion,
|
||||
} from '@/app/components/plugins/card/card-mock'
|
||||
import { toolNotion } from '@/app/components/plugins/plugin-detail-panel/mock'
|
||||
|
||||
import type { FilterState } from './filter-management'
|
||||
import FilterManagement from './filter-management'
|
||||
@ -17,7 +13,7 @@ const PluginsPanel = () => {
|
||||
//
|
||||
}
|
||||
|
||||
const [currentPluginDetail, setCurrentPluginDetail] = useState<Plugin | undefined>(toolNotion as any)
|
||||
const [currentPluginDetail, setCurrentPluginDetail] = useState<PluginDetail | undefined>(toolNotion as any)
|
||||
return (
|
||||
<>
|
||||
<div className='flex flex-col pt-1 pb-3 px-12 justify-center items-start gap-3 self-stretch'>
|
||||
|
||||
Reference in New Issue
Block a user