mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-20 20:39:10 +00:00
11 lines
304 B
TypeScript
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>
|
|
}
|