Skip to content

Commit fff8016

Browse files
committed
Adds posthog to payment links
1 parent f8e7e66 commit fff8016

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed
Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
11
"use client";
22
import { Toaster } from "sonner";
33
import { ThirdwebProvider } from "thirdweb/react";
4+
import { PHProvider } from "../../../../lib/posthog/Posthog";
5+
import { PostHogPageView } from "../../../../lib/posthog/PosthogPageView";
46

57
export function Providers({ children }: { children: React.ReactNode }) {
68
return (
79
<ThirdwebProvider>
8-
{children}
9-
<Toaster richColors theme="dark" />
10+
<PHProvider>
11+
<PostHogPageView />
12+
{children}
13+
<Toaster richColors theme="dark" />
14+
</PHProvider>
1015
</ThirdwebProvider>
1116
);
1217
}

0 commit comments

Comments
 (0)