You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gcgj-dify-1.7.0/web/app/(commonLayout)/datasets/(datasetDetailLayout)/[datasetId]/documents/[documentId]/page.tsx

17 lines
411 B
TypeScript

import React from 'react'
import MainDetail from '@/app/components/datasets/documents/detail'
export type IDocumentDetailProps = {
params: Promise<{ datasetId: string; documentId: string }>
}
const DocumentDetail = async ({
params,
}: IDocumentDetailProps) => {
return (
<MainDetail datasetId={(await params).datasetId} documentId={(await params).documentId} />
)
}
export default DocumentDetail