初始化模版工程
This commit is contained in:
12
components/AgentationGuard.tsx
Normal file
12
components/AgentationGuard.tsx
Normal file
@@ -0,0 +1,12 @@
|
||||
'use client'
|
||||
|
||||
import { Agentation } from 'agentation'
|
||||
|
||||
export function AgentationGuard() {
|
||||
if (process.env.NODE_ENV !== 'development') {
|
||||
return null
|
||||
}
|
||||
|
||||
return <Agentation />
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user