mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-31 10:35:04 +08:00
17 lines
575 B
TypeScript
17 lines
575 B
TypeScript
import PluginPage from '@/app/components/plugins/plugin-page'
|
|
import PluginsPanel from '@/app/components/plugins/plugin-page/plugins-panel'
|
|
import Marketplace from '@/app/components/plugins/marketplace'
|
|
import { getLocaleOnServer } from '@/i18n/server'
|
|
|
|
const PluginList = async () => {
|
|
const locale = await getLocaleOnServer()
|
|
return (
|
|
<PluginPage
|
|
plugins={<PluginsPanel />}
|
|
marketplace={<Marketplace locale={locale} pluginTypeSwitchClassName='top-[60px]' searchBoxAutoAnimate={false} showSearchParams={false} />}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export default PluginList
|