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

17 lines
363 B
TypeScript
Raw Normal View History

import type { FC } from 'react'
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
}
const InstalledApp: FC<IInstalledAppProps> = async ({ params }) => {
2023-05-25 16:59:47 +08:00
return (
<Main id={(await params).appId} />
2023-05-25 16:59:47 +08:00
)
}
export default React.memo(InstalledApp)