crazywoola 80a50633ea
Revert "fix: move hardcoded text to language settings (#16990) (#17133)"
This reverts commit 16c722d1d87c8e75ceced96fcc6a1aa7c09d362d.
2025-04-05 11:36:03 +08:00

21 lines
606 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} />}
/>
)
}
export const metadata = {
title: 'Plugins - Dify',
}
export default PluginList