mirror of
https://github.com/langgenius/dify.git
synced 2026-08-25 11:59:42 -04:00
a84c2d36a3
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
15 lines
288 B
TypeScript
15 lines
288 B
TypeScript
'use client'
|
|
|
|
import { IS_DEV } from '@/config'
|
|
import dynamic from '@/next/dynamic'
|
|
|
|
const Agentation = dynamic(() => import('agentation').then((module) => module.Agentation), {
|
|
ssr: false,
|
|
})
|
|
|
|
export function AgentationLoader() {
|
|
if (!IS_DEV) return null
|
|
|
|
return <Agentation />
|
|
}
|