mirror of
https://github.com/langgenius/dify.git
synced 2026-04-28 11:56:55 +08:00
12 lines
362 B
TypeScript
12 lines
362 B
TypeScript
'use client'
|
|
|
|
import type { FC } from 'react'
|
|
import type { IAmplitudeProps } from './AmplitudeProvider'
|
|
import dynamic from '@/next/dynamic'
|
|
|
|
const AmplitudeProvider = dynamic(() => import('./AmplitudeProvider'), { ssr: false })
|
|
|
|
const LazyAmplitudeProvider: FC<IAmplitudeProps> = props => <AmplitudeProvider {...props} />
|
|
|
|
export default LazyAmplitudeProvider
|