mirror of
https://github.com/langgenius/dify.git
synced 2026-07-31 17:29:37 +08:00
Co-authored-by: 盐粒 Yanli <mail@yanli.one> Co-authored-by: yyh <yuanyouhuilyz@gmail.com> Co-authored-by: Joel <iamjoel007@gmail.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com> Co-authored-by: yyh <92089059+lyzno1@users.noreply.github.com> Co-authored-by: 盐粒 Yanli <yanli@dify.ai>
13 lines
212 B
TypeScript
13 lines
212 B
TypeScript
import type { ReactNode } from 'react'
|
|
import { guardAgentV2Route } from './feature-guard'
|
|
|
|
export default function Layout({
|
|
children,
|
|
}: {
|
|
children: ReactNode
|
|
}) {
|
|
guardAgentV2Route()
|
|
|
|
return children
|
|
}
|