We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e7e66 commit fff8016Copy full SHA for fff8016
apps/dashboard/src/app/pay/components/client/Providers.client.tsx
@@ -1,12 +1,17 @@
1
"use client";
2
import { Toaster } from "sonner";
3
import { ThirdwebProvider } from "thirdweb/react";
4
+import { PHProvider } from "../../../../lib/posthog/Posthog";
5
+import { PostHogPageView } from "../../../../lib/posthog/PosthogPageView";
6
7
export function Providers({ children }: { children: React.ReactNode }) {
8
return (
9
<ThirdwebProvider>
- {children}
- <Toaster richColors theme="dark" />
10
+ <PHProvider>
11
+ <PostHogPageView />
12
+ {children}
13
+ <Toaster richColors theme="dark" />
14
+ </PHProvider>
15
</ThirdwebProvider>
16
);
17
}
0 commit comments