mirror of
https://github.com/langgenius/dify.git
synced 2026-08-02 18:56:34 +08:00
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: GareArc <garethcxy@dify.ai>
14 lines
373 B
TypeScript
14 lines
373 B
TypeScript
import { KnowledgeSpaceShell } from '@/features/new-rag/knowledge-space-shell'
|
|
|
|
export default async function Layout({
|
|
children,
|
|
params,
|
|
}: {
|
|
children: React.ReactNode
|
|
params: Promise<{ knowledgeSpaceId: string }>
|
|
}) {
|
|
const { knowledgeSpaceId } = await params
|
|
|
|
return <KnowledgeSpaceShell knowledgeSpaceId={knowledgeSpaceId}>{children}</KnowledgeSpaceShell>
|
|
}
|