dify/web/app/(commonLayout)/agents/[agentId]/layout.tsx
Stephen Zhou a84c2d36a3
style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00

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>
}