Files
BrowserOS/apps/agent/lib/analytics/AnalyticsProvider.tsx
Dani Akash 025780faea feat: agent code in monorepo (#137)
* feat: added agent code to monorepo

* chore: update bun lock file
2025-12-29 18:39:52 +05:30

11 lines
304 B
TypeScript

import { PostHogProvider as Provider } from '@posthog/react'
import type { FC, PropsWithChildren } from 'react'
import { posthog } from './posthog'
/**
* @public
*/
export const AnalyticsProvider: FC<PropsWithChildren> = ({ children }) => {
return <Provider client={posthog}>{children}</Provider>
}