mirror of
https://github.com/langgenius/dify.git
synced 2026-09-05 16:55:14 +08:00
15 lines
371 B
TypeScript
15 lines
371 B
TypeScript
'use client'
|
|
|
|
import { useEffect } from 'react'
|
|
import { coordinateRegistrationConsent } from '@/app/components/base/amplitude/registration-tracking'
|
|
import { setAnalyticsConsent } from './consent-store'
|
|
|
|
export function AnalyticsDisabled() {
|
|
useEffect(() => {
|
|
setAnalyticsConsent('disabled')
|
|
coordinateRegistrationConsent('disabled')
|
|
}, [])
|
|
|
|
return null
|
|
}
|