UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: remove posthog from development
Dillion Vermab327f7d38fe5
diff --git a/components/posthog-provider.tsx b/components/posthog-provider.tsxindex 6fe7ee57..8be9ed0c 100644--- a/components/posthog-provider.tsx+++ b/components/posthog-provider.tsx@@ -5,7 +5,7 @@ import posthog from "posthog-js";import { PostHogProvider } from "posthog-js/react";import { useEffect } from "react";-if (typeof window !== "undefined") {+if (typeof window !== "undefined" && process.env.NODE_ENV === "production") {posthog.init(process.env.NEXT_PUBLIC_POSTHOG_API_KEY!, {api_host: "https://app.posthog.com",session_recording: {