'use client' import { useState } from 'react' import type { PluginDetail } from '../types' import PluginDetailPanel from '@/app/components/plugins/plugin-detail-panel' import { toolNotion } from '@/app/components/plugins/plugin-detail-panel/mock' import type { FilterState } from './filter-management' import FilterManagement from './filter-management' import List from './list' const PluginsPanel = () => { const handleFilterChange = (filters: FilterState) => { // } const [currentPluginDetail, setCurrentPluginDetail] = useState(toolNotion as any) return ( <>
setCurrentPluginDetail(undefined)} /> ) } export default PluginsPanel