mirror of
https://github.com/hanzoai/gui.git
synced 2026-10-25 02:31:41 +00:00
Stripe, Supabase, Bento, Takeout, seats, licenses and coupons came with the fork of the site and sold nothing here. Identity is Hanzo IAM and there is no store, so the forty-four routes, the purchase flow and the theme-history persistence go, and what remains is a docs site.
13 lines
331 B
TypeScript
13 lines
331 B
TypeScript
import { useEffect } from 'react'
|
|
import { clientPostHog } from './client'
|
|
import { initializeErrorHandling } from './errorHandling'
|
|
|
|
export function PostHogProvider({ children }: { children: React.ReactNode }) {
|
|
useEffect(() => {
|
|
clientPostHog.initialize()
|
|
initializeErrorHandling()
|
|
}, [])
|
|
|
|
return <>{children}</>
|
|
}
|