Files
dify/web/app/(commonLayout)/explore/installed/[appId]/page.tsx

19 lines
442 B
TypeScript
Raw Normal View History

import React from 'react'
2023-05-25 16:59:47 +08:00
import Main from '@/app/components/explore/installed-app'
export type IInstalledAppProps = {
params?: Promise<{
2023-05-25 16:59:47 +08:00
appId: string
}>
2023-05-25 16:59:47 +08:00
}
2025-07-17 10:52:10 +08:00
// Using Next.js page convention for async server components
async function InstalledApp({ params }: IInstalledAppProps) {
const { appId } = await (params ?? Promise.reject(new Error('Missing params')))
2023-05-25 16:59:47 +08:00
return (
2025-07-17 10:52:10 +08:00
<Main id={appId} />
2023-05-25 16:59:47 +08:00
)
}
2025-07-17 10:52:10 +08:00
export default InstalledApp