mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-05-25 07:38:15 +08:00
10 lines
235 B
TypeScript
10 lines
235 B
TypeScript
import type React from 'react'
|
|
import { notFound } from 'next/navigation'
|
|
|
|
export default async function Layout({ children }: React.PropsWithChildren) {
|
|
if (process.env.NODE_ENV !== 'development')
|
|
notFound()
|
|
|
|
return children
|
|
}
|