Merge pull request #748 from elammertsma/dev

feat: Implemented hero A/B test, added Contact Sales button
This commit is contained in:
Rohan Verma 2026-01-27 16:03:02 -08:00 committed by GitHub
commit 114ac59c0e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 61 additions and 16 deletions

View file

@ -3,6 +3,7 @@
import { PostHogProvider as PHProvider } from "@posthog/react";
import posthog from "posthog-js";
import type { ReactNode } from "react";
import "../../instrumentation-client";
import { PostHogIdentify } from "./PostHogIdentify";
interface PostHogProviderProps {
@ -10,8 +11,8 @@ interface PostHogProviderProps {
}
export function PostHogProvider({ children }: PostHogProviderProps) {
// posthog-js is already initialized in instrumentation-client.ts
// We just need to wrap the app with the PostHogProvider for hook access
// posthog-js is initialized by importing instrumentation-client.ts above
// We wrap the app with the PostHogProvider for hook access
return (
<PHProvider client={posthog}>
<PostHogIdentify />