2023-06-01 23:19:36 +08:00
|
|
|
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'
|
|
|
|
|
|
2023-06-01 23:19:36 +08:00
|
|
|
export type IInstalledAppProps = {
|
2025-03-21 17:41:03 +08:00
|
|
|
params: Promise<{
|
2023-05-25 16:59:47 +08:00
|
|
|
appId: string
|
2025-03-21 17:41:03 +08:00
|
|
|
}>
|
2023-05-25 16:59:47 +08:00
|
|
|
}
|
|
|
|
|
|
2025-03-21 17:41:03 +08:00
|
|
|
const InstalledApp: FC<IInstalledAppProps> = async ({ params }) => {
|
2023-05-25 16:59:47 +08:00
|
|
|
return (
|
2025-03-21 17:41:03 +08:00
|
|
|
<Main id={(await params).appId} />
|
2023-05-25 16:59:47 +08:00
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
export default React.memo(InstalledApp)
|