There was an error while loading. Please reload this page.
1 parent 72610d1 commit d52db4eCopy full SHA for d52db4e
1 file changed
src/waku.client.tsx
@@ -3,14 +3,14 @@ import { StrictMode } from "react";
3
import { hydrateRoot } from "react-dom/client";
4
import { Router } from "waku/router/client";
5
6
-posthog.init("phc_eQP8pRBKw0mQWdUYXWE2HBcqQ5n9qP9h5R4xF5Y39aG", {
7
- api_host: "/ph_ebbd7f",
8
- ui_host: "https://us.posthog.com",
9
- defaults: "2025-05-24",
10
- person_profiles: "identified_only",
11
- capture_exceptions: true,
12
- debug: process.env.NODE_ENV === "development",
13
-});
+if (process.env.NODE_ENV !== "development")
+ posthog.init("phc_eQP8pRBKw0mQWdUYXWE2HBcqQ5n9qP9h5R4xF5Y39aG", {
+ api_host: "/ph_ebbd7f",
+ ui_host: "https://us.posthog.com",
+ defaults: "2025-05-24",
+ person_profiles: "identified_only",
+ capture_exceptions: true,
+ });
14
15
hydrateRoot(
16
document,
0 commit comments