mirror of
https://github.com/langgenius/dify.git
synced 2026-08-01 01:49:30 +08:00
14 lines
390 B
TypeScript
14 lines
390 B
TypeScript
import type { ReactNode } from 'react'
|
|
import { AgentDetailLayout } from '@/features/agent-v2/agent-detail/layout'
|
|
|
|
type LayoutProps = {
|
|
children: ReactNode
|
|
params: Promise<{ agentId: string }>
|
|
}
|
|
|
|
export default async function Layout({ children, params }: LayoutProps) {
|
|
const { agentId } = await params
|
|
|
|
return <AgentDetailLayout agentId={agentId}>{children}</AgentDetailLayout>
|
|
}
|